Fix generation data and regenerate errs/typs

This commit is contained in:
Roj Serbest 2021-11-11 20:09:10 +03:00
parent 730bf78621
commit 28ad9bbcd3
2 changed files with 2 additions and 12 deletions

View File

@ -187,12 +187,6 @@
"description": "Raised when the given filename is invalid",
"error_code": 8471
},
{
"id": "1209e4fc",
"name": "InvalidFileName",
"description": "Raised when the given filename is invalid",
"error_code": 8471
},
{
"id": "8611fbfa",
"name": "InvalidGeoLocation",
@ -233,7 +227,7 @@
"id": "54854690",
"name": "InvalidPlatform",
"description": "The platform name contains invalid characters or is too long, see the message for further details",
"error_code": 8464
"error_code": 8458
},
{
"id": "f1351689",

View File

@ -100,9 +100,6 @@ export class InvalidFileForProfilePicture extends SocialvoidError {}
// Raised when the given filename is invalid
export class InvalidFileName extends SocialvoidError {}
// Raised when the given filename is invalid
export class InvalidFileName extends SocialvoidError {}
// The given geo location value is invalid or too long
export class InvalidGeoLocation extends SocialvoidError {}
@ -177,14 +174,13 @@ const map: { [key: string]: typeof SocialvoidError } = {
"8456": InvalidClientPublicHash,
"8462": InvalidFileForProfilePicture,
"8471": InvalidFileName,
"8471": InvalidFileName,
"8467": InvalidGeoLocation,
"8464": InvalidHelpDocumentId,
"8451": InvalidLastName,
"8466": InvalidPageValue,
"8449": InvalidPassword,
"8454": InvalidPeerInput,
"8464": InvalidPlatform,
"8458": InvalidPlatform,
"8455": InvalidPostText,
"8461": InvalidSessionIdentification,
"8468": InvalidUrlValue,