Fix frontend endpoints for service tokens and patch secret index.d.ts error

This commit is contained in:
Tuan Dang
2023-01-05 19:25:33 +07:00
parent 6e125b9e74
commit 85cb3a11aa
7 changed files with 6 additions and 29 deletions

View File

@@ -72,6 +72,8 @@ const AddServiceTokenDialog = ({
iv,
tag
});
console.log('newServiceToken', newServiceToken);
setServiceTokens(serviceTokens.concat([newServiceToken.serviceTokenData]));
setServiceToken(newServiceToken.serviceToken + "." + randomBytes);