Created
November 13, 2020 18:57
-
-
Save alyssoncm/4926a389619faa4de271076ed3e4a1d3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parse.Cloud.beforeSave(Parse.User, () => { | |
// any additional beforeSave logic here | |
}, { | |
fields: { | |
accType: { | |
default: 'viewer', | |
constant: true | |
}, | |
}, | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment