Skip to content

Commit 4726f68

Browse files
committed
change post logic for harmony
1 parent db0a4fb commit 4726f68

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/client.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ export class Pushy {
205205
// @ts-ignore
206206
delete fetchBody.buildTime;
207207
}
208-
const body = JSON.stringify(fetchBody);
208+
let body = JSON.stringify(fetchBody);
209+
if (Platform.OS === 'harmony') {
210+
body = fetchBody;
211+
}
209212
const fetchPayload = {
210213
method: 'POST',
211214
headers: {

0 commit comments

Comments
 (0)