Skip to content

Fix error when updating installation with useMasterKey - #2888

Merged
flovilmart merged 2 commits into
parse-community:masterfrom
JeremyPlease:updating-installations-as-master
Oct 19, 2016
Merged

flovilmart merged 2 commits into
parse-community:masterfrom
JeremyPlease:updating-installations-as-master

Conversation

@JeremyPlease

@JeremyPlease JeremyPlease commented Oct 19, 2016 •

Copy link
Copy Markdown
Contributor

When using useMasterKey the auth.installationId should not be used from the request. Otherwise, errors will be thrown when installation object being edited is not the same as auth.installationId.

Fixes #2887.

This allows masterKey to update any installation object
Fixes ParsePlatform/parse-server#parse-community#2887
@facebook-github-bot

Copy link
Copy Markdown

@JeremyPlease updated the pull request - view changes

@JeremyPlease JeremyPlease changed the title WIP: Test case to reproduce #2887 Fix error when updating installation with useMasterKey Oct 19, 2016
@flovilmart

Copy link
Copy Markdown
Contributor

Awesome!!!

@flovilmart
flovilmart merged commit a6a6f7f into parse-community:master Oct 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants