Skip to content

Commit

Permalink
feat(RESTJSONErrorCodes): add error 50131 (#753)
Browse files Browse the repository at this point in the history
Co-authored-by: Vlad Frangu <[email protected]>
  • Loading branch information
Mateo-tem and vladfrangu authored Jun 15, 2023
1 parent 40b9d60 commit 300e31b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion deno/rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ export enum RESTJSONErrorCodes {

RequestBodyContainsInvalidJSON = 50_109,

OwnershipCannotBeMovedToABotUser = 50_132,
OwnerCannotBePendingMember = 50_131,
OwnershipCannotBeMovedToABotUser,

FailedToResizeAssetBelowTheMinimumSize = 50_138,

Expand Down
3 changes: 2 additions & 1 deletion rest/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ export enum RESTJSONErrorCodes {

RequestBodyContainsInvalidJSON = 50_109,

OwnershipCannotBeMovedToABotUser = 50_132,
OwnerCannotBePendingMember = 50_131,
OwnershipCannotBeMovedToABotUser,

FailedToResizeAssetBelowTheMinimumSize = 50_138,

Expand Down

1 comment on commit 300e31b

@vercel
Copy link

@vercel vercel bot commented on 300e31b Jun 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.