Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 2965e34

Browse files
authored
Remove masterKey from parse.js
1 parent 05ffc41 commit 2965e34

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/lib/Parse.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ export class Parse extends Backend {
3131
_.isNull(token) ? null : token.sessionToken.sessionToken
3232

3333
this._applicationId = CONFIG.PARSE.appId
34-
this._masterKey = CONFIG.PARSE.masterKey
3534
this.API_BASE_URL = CONFIG.backend.parseLocal
3635
? CONFIG.PARSE.local.url
3736
: CONFIG.PARSE.remote.url
@@ -257,10 +256,6 @@ export class Parse extends Backend {
257256
reqOpts.headers['X-Parse-Session-Token'] = this._sessionToken
258257
}
259258

260-
if (this._masterKey) {
261-
reqOpts.headers['X-Parse-Master-Key'] = this.masterKey
262-
}
263-
264259
if (opts.method === 'POST' || opts.method === 'PUT') {
265260
reqOpts.headers['Accept'] = 'application/json'
266261
reqOpts.headers['Content-Type'] = 'application/json'

0 commit comments

Comments
 (0)