Skip to content

Commit a76fcfc

Browse files
committed
chore: update json request headers to require codec
1 parent fc57277 commit a76fcfc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
-1.87 MB
Binary file not shown.

connect/src/client/ao-core.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ const baseParams = {
2626
}
2727

2828
const httpParams = { ...baseParams, 'accept-codec': '[email protected]' }
29-
30-
const jsonParams = { ...baseParams, 'accept': 'application/json' }
29+
const jsonParams = { ...baseParams, 'require-codec': 'application/json' }
3130

3231
const getAOParams = (type) => ({
3332
Type: type,

0 commit comments

Comments
 (0)