We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8467e3f commit 00c6995Copy full SHA for 00c6995
packages/rpc/src/routers/uptime.ts
@@ -102,7 +102,10 @@ export const uptimeRouter = {
102
const { scheduleId } = await client.schedules.create({
103
destination: UPTIME_DESTINATION,
104
cron: CRON_GRANULARITIES[input.granularity],
105
- body: JSON.stringify({ websiteId: input.websiteId }),
+ headers: {
106
+ "Content-Type": "application/json",
107
+ "X-Website-Id": input.websiteId,
108
+ }
109
});
110
111
if (!scheduleId) {
0 commit comments