mirror of
				https://github.com/pierre42100/ComunicWeb
				synced 2025-10-30 17:54:59 +00:00 
			
		
		
		
	Handle error
This commit is contained in:
		| @@ -39,7 +39,7 @@ const APIClient = { | ||||
|         return new Promise((res, rej) => { | ||||
|             this.makeFormDatarequest(uri, data, withLogin, (result) => { | ||||
|                 if (result.error) | ||||
|                     reject(result.error); | ||||
|                     rej(result.error); | ||||
|                  | ||||
|                 else | ||||
|                     res(result); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user