Skip to content

Commit

Permalink
Change method to GET
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Aug 20, 2024
1 parent 3c4572b commit 6a3cd62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/monitor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const isIdle = () => {
const checkActivity = async (notificationUrl: URL) => {
if (isIdle()) {
console.log(`env is considered idle notifying ${notificationUrl}`);
await fetch(notificationUrl, { method: "POST" }).catch(
await fetch(notificationUrl, { method: "GET" }).catch(
(_err) => {},
);
}
Expand Down

0 comments on commit 6a3cd62

Please sign in to comment.