add member merge frontend modal

This commit is contained in:
Gregor Vostrak
2025-03-06 12:19:03 +01:00
committed by Constantin Graf
parent ab263e725f
commit e5ec11af44
8 changed files with 353 additions and 16 deletions

View File

@@ -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,
},
});
},