chore(docs): update api.json endpoints

This commit is contained in:
Mauricio Siu
2024-09-01 23:11:17 -06:00
parent 2874c45227
commit d9f5d20473
36 changed files with 9345 additions and 1402 deletions
@@ -104,7 +104,7 @@ export const SaveGitlabProvider = ({ applicationId }: Props) => {
{
owner: repository?.owner,
repo: repository?.repo,
id: repository?.id,
id: repository?.id || 0,
gitlabId: gitlabId,
},
{
@@ -60,7 +60,9 @@ export const EditTraefikEnv = ({ children }: Props) => {
}, [form, form.reset, data]);
const onSubmit = async (data: Schema) => {
await mutateAsync(data.env)
await mutateAsync({
env: data.env,
})
.then(async () => {
toast.success("Traefik Env Updated");
})