Enforce method

This commit is contained in:
shamoon
2024-06-03 12:03:10 -07:00
parent 67a9f4983c
commit 19c3ac0d7e
5 changed files with 52 additions and 15 deletions

View File

@@ -225,7 +225,9 @@ export default function Component({ service }) {
}),
);
const url = `/api/services/proxy?${params.toString()}`;
await fetch(url).then(() => {
await fetch(url, {
method: "POST",
}).then(() => {
sessionMutate();
});
}