Enforce method

This commit is contained in:
shamoon
2024-06-03 13:17:23 -07:00
parent 67a9f4983c
commit 19c3ac0d7e
5 changed files with 52 additions and 15 deletions
+3 -1
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();
});
}