Forbidden is 403 - typo :)

pull/822/head
FoxMaSk 2018-09-27 21:38:16 +02:00
parent c83391e624
commit 6125cde223
1 changed files with 2 additions and 2 deletions

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;
}