Skip to content

Commit c95b816

Browse files
authored
Update AppTokenJsExample.js
1 parent d9ca62e commit c95b816

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

JS/AppTokenJsExample.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ function createAccessToken(externalUserId, levelName = 'basic-kyc-level', ttlInS
142142
var url = '/resources/accessTokens/sdk;
143143

144144
var headers = {
145-
'Accept': 'application/json',
145+
'Accept': 'application/json',
146+
'Content-Type': 'application/json',
146147
'X-App-Token': SUMSUB_APP_TOKEN
147148
};
148149

0 commit comments

Comments
 (0)