mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-15 19:52:15 +01:00
add member merge frontend modal
This commit is contained in:
committed by
Constantin Graf
parent
ab263e725f
commit
e5ec11af44
@@ -45,7 +45,6 @@ async function createApiToken(){
|
||||
(response) => {
|
||||
createApiTokenForm.name = '';
|
||||
displayingToken.value = true;
|
||||
// @ts-expect-error temporary fix until openapi docs type is fixed
|
||||
newToken.value = response.data.access_token;
|
||||
}
|
||||
);
|
||||
@@ -117,7 +116,7 @@ const deleteApiTokenMutation = useMutation({
|
||||
mutationFn: async (apiTokenId: string) => {
|
||||
return await api.deleteApiToken(undefined, {
|
||||
params: {
|
||||
apiTokenId: apiTokenId,
|
||||
apiToken: apiTokenId,
|
||||
},
|
||||
});
|
||||
},
|
||||
@@ -130,7 +129,7 @@ const revokeApiTokenMutation = useMutation({
|
||||
mutationFn: async (apiTokenId: string) => {
|
||||
return await api.revokeApiToken(undefined, {
|
||||
params: {
|
||||
apiTokenId: apiTokenId,
|
||||
apiToken: apiTokenId,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user