diff --git a/components/AppApiKeys.vue b/components/AppApiKeys.vue index 07aecc5..7e2cc6d 100644 --- a/components/AppApiKeys.vue +++ b/components/AppApiKeys.vue @@ -70,8 +70,8 @@ const { mutate, data, isPending } = useMutation({ const { mutate: deleteApiKeyApi } = useMutation({ mutationFn: (r: any) => { - return $fetch('/api/api-keys/delete-api-key', { - method: 'delete', + return $fetch.raw('/api/api-keys/delete-api-key', { + method: 'post', query: { orgName, appName, diff --git a/components/PeopleOrg.vue b/components/PeopleOrg.vue index 2bbf30c..6bcf4da 100644 --- a/components/PeopleOrg.vue +++ b/components/PeopleOrg.vue @@ -129,7 +129,7 @@ const { mutate: deleteRole, isPending: deleteRoleIsPending } = useMutation({ mutationFn: async (req: any) => { const email = req.prop.data.email await $fetch('/api/org-people/remove-user-from-org', { - method: 'delete', + method: 'post', body: { email, orgName }, }) refresh() diff --git a/pages/orgs/[orgName]/apps/[appId]/releases/[detailArtifact].vue b/pages/orgs/[orgName]/apps/[appId]/releases/[detailArtifact].vue index ff94b05..b90ded1 100644 --- a/pages/orgs/[orgName]/apps/[appId]/releases/[detailArtifact].vue +++ b/pages/orgs/[orgName]/apps/[appId]/releases/[detailArtifact].vue @@ -15,7 +15,7 @@ Release Id {{ detailArtifact?.releaseId }} Version {{ detailArtifact?.versionName2 }} ({{ detailArtifact?.versionCode2 - }}) + }}) {{ formatDate(detailArtifact?.createdAt) }}