Fixed the service token bugs

This commit is contained in:
Vladyslav Matsiiako
2023-01-04 20:22:51 -08:00
parent 9cf28fef5f
commit 8b48205881
4 changed files with 15 additions and 11 deletions
@@ -47,7 +47,7 @@ const addServiceToken = ({
})
}).then(async (res) => {
if (res && res.status == 200) {
return (await res.json()).serviceToken;
return (await res.json());
} else {
console.log('Failed to add service tokens');
}