Skip to content

Commit

Permalink
fix: make bereal-timezone and env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed Mar 30, 2024
1 parent d020552 commit 8ad67aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ BEREAL_SIGNATURE=

# BeReal Device ID
BEREAL_DEVICE_ID=

# BeReal Timezone
BEREAL_TIMEZONE=
```

> [!WARNING]\
Expand Down
2 changes: 1 addition & 1 deletion client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const headers = (_templates: TemplateStringsArray, token: string) => ({
"Bereal-App-Version": "1.19.6",
"Bereal-Os-Version": "10",
"Bereal-Device-Id": Deno.env.get("BEREAL_DEVICE_ID")!,
"Bereal-Timezone": "Europe/Paris",
"Bereal-Timezone": Deno.env.get("BEREAL_TIMEZONE")!,
"Bereal-App-Version-Code": "1631",
"Bereal-Signature": Deno.env.get("BEREAL_SIGNATURE")!,
"User-Agent": "okhttp/4.12.0",
Expand Down

0 comments on commit 8ad67aa

Please sign in to comment.