mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server/general: flatten responses
This commit is contained in:
@ -134,7 +134,7 @@ class Api {
|
||||
'auth',
|
||||
{'user': userName, 'password': userPassword},
|
||||
options);
|
||||
this.user = response.user;
|
||||
this.user = response;
|
||||
resolve();
|
||||
events.notify(events.Authentication);
|
||||
}).catch(response => {
|
||||
|
Reference in New Issue
Block a user