Browse Source

Adds missing content-type

main
Eric Amodio 2 years ago
parent
commit
a593df0f5f
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/premium/subscription/subscriptionService.ts

+ 2
- 0
src/premium/subscription/subscriptionService.ts View File

@ -276,6 +276,7 @@ export class SubscriptionService implements Disposable {
headers: {
Authorization: `Bearer ${session.accessToken}`,
'User-Agent': userAgent,
'Content-Type': 'application/json',
},
body: JSON.stringify({ id: session.account.id }),
});
@ -407,6 +408,7 @@ export class SubscriptionService implements Disposable {
headers: {
Authorization: `Bearer ${session.accessToken}`,
'User-Agent': userAgent,
'Content-Type': 'application/json',
},
body: JSON.stringify(checkInData),
});

Loading…
Cancel
Save