mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 23:19:40 +01:00
feat: handle emailConfirmed SSE
This commit is contained in:
@@ -19,6 +19,7 @@ post.json = function (url, data, token) {
|
||||
};
|
||||
|
||||
function transformer(data, json) {
|
||||
if (!data) return;
|
||||
if (json) return JSON.stringify(data);
|
||||
else {
|
||||
return Object.entries(data)
|
||||
|
||||
Reference in New Issue
Block a user