mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-14 03:29:35 +00:00
Fixed the service token bugs
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user