You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Forbidden is 403 - typo :)
This commit is contained in:
		| @@ -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; | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user