1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-02 12:47:41 +02:00

Merge pull request #822 from foxmask/master

Forbidden is 403 - typo :)
This commit is contained in:
Laurent Cozic 2018-09-28 19:23:48 +01:00 committed by GitHub
commit b6ca3090df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,7 @@ class ErrorNotFound extends ApiError {
class ErrorForbidden extends ApiError {
constructor(message = 'Forbidden') {
super(message, 404);
super(message, 403);
}
}
@ -173,7 +173,7 @@ class Api {
}
this.logger().info('Request (' + requestId + '): Created note ' + note.id);
return note;
}