0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Fixed incorrect event api response handling

no refs
This commit is contained in:
Rishabh 2021-09-23 19:51:02 +05:30
parent a6d38f8c58
commit d3295ccc13

View file

@ -49,7 +49,7 @@ function setupGhostApi({siteUrl = window.location.origin}) {
if (!res.ok) { if (!res.ok) {
return null; return null;
} }
return res.json(); return res.text();
}); });
} }
}; };