mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 04:27:29 +00:00
Fix lint issues
This commit is contained in:
+8
-9
@@ -97,16 +97,15 @@ export const CreateClientSecretModal = ({
|
|||||||
}: FormData) => {
|
}: FormData) => {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if (popUpData) {
|
if (!popUpData?.machineId) return;
|
||||||
|
|
||||||
|
const { clientSecret } = await createClientSecretMutateAsync({
|
||||||
|
machineId: popUpData.machineId,
|
||||||
|
description,
|
||||||
|
ttl: Number(ttl)
|
||||||
|
});
|
||||||
|
|
||||||
const { clientSecret } = await createClientSecretMutateAsync({
|
setToken(clientSecret);
|
||||||
machineId: popUpData.machineId,
|
|
||||||
description,
|
|
||||||
ttl: Number(ttl)
|
|
||||||
});
|
|
||||||
|
|
||||||
setToken(clientSecret);
|
|
||||||
}
|
|
||||||
|
|
||||||
createNotification({
|
createNotification({
|
||||||
text: "Successfully created client secret",
|
text: "Successfully created client secret",
|
||||||
|
|||||||
Reference in New Issue
Block a user