mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 12:39:59 +01:00
Fix bug
This commit is contained in:
parent
539f769919
commit
95f2f08f39
@ -474,7 +474,7 @@ export default class MiOS extends EventEmitter {
|
||||
}).then(async (res) => {
|
||||
if (--pending === 0) spinner.parentNode.removeChild(spinner);
|
||||
|
||||
const body = await res.json();
|
||||
const body = res.status === 204 ? null : await res.json();
|
||||
|
||||
if (this.debug) {
|
||||
req.status = res.status;
|
||||
|
Loading…
Reference in New Issue
Block a user