mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/home: fix reporting backend errors
The code mistakenly referred to a non-existing field. Now it matches the rest of the error handlers.
This commit is contained in:
@ -16,7 +16,7 @@ class Info {
|
|||||||
undefined
|
undefined
|
||||||
}));
|
}));
|
||||||
}, response => {
|
}, response => {
|
||||||
return Promise.reject(response.errorMessage);
|
return Promise.reject(response.description);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user