don't return httpStatusCode in mastodon errors
This commit is contained in:
@@ -90,6 +90,7 @@ function convertApiError(apiError: ApiError): MastodonError {
|
||||
|
||||
delete mastoError.code;
|
||||
delete mastoError.message;
|
||||
delete mastoError.httpStatusCode;
|
||||
|
||||
return mastoError;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user