mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 01:12:59 +00:00
Fix lint errors
This commit is contained in:
@@ -219,7 +219,7 @@ export const ProjectSettingsPage = () => {
|
||||
plaintext: key,
|
||||
key: randomBytes
|
||||
});
|
||||
|
||||
|
||||
const res = await createServiceToken.mutateAsync({
|
||||
encryptedKey: ciphertext,
|
||||
iv,
|
||||
@@ -229,8 +229,11 @@ export const ProjectSettingsPage = () => {
|
||||
name,
|
||||
workspaceId: workspaceID,
|
||||
randomBytes,
|
||||
permissions
|
||||
permissions: Object.entries(permissions)
|
||||
.filter(([, permissionsValue]) => permissionsValue)
|
||||
.map(([permissionsKey]) => permissionsKey)
|
||||
});
|
||||
|
||||
createNotification({
|
||||
text: 'Successfully created a service token',
|
||||
type: 'success'
|
||||
|
||||
Reference in New Issue
Block a user