Skip to content

Commit

Permalink
fix payload swg
Browse files Browse the repository at this point in the history
  • Loading branch information
prasetiyo28 committed Aug 30, 2024
1 parent 21732ee commit 586c61e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/kompas-paywall-body/kompas-paywall-body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ export class KompasPaywallBody {
const crypto = await cryptos();
await fetch(`${this.kompasApiSubs}/membership/swg`, {
method: 'POST',
body: payload,
body: JSON.stringify(payload),
headers:{
'content-type': 'application/json',
'x-signature': crypto.xSignature,
Expand Down

0 comments on commit 586c61e

Please sign in to comment.