Skip to content

Commit

Permalink
Use post for playing commands
Browse files Browse the repository at this point in the history
  • Loading branch information
shamoon committed Jun 3, 2024
1 parent 67a9f49 commit b48a963
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/widgets/emby/component.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
Expand Down

0 comments on commit b48a963

Please sign in to comment.