Skip to content

Conversation

@coderofsalvation
Copy link
Contributor

This will resolve:

#60
deployd/deployd#591

and new user onboarding:

5 dec 2016 @ https://gitter.im/deployd/deployd

Hey folks. Sorry if this has been asked before.
I need to modify some user data in onGet or onPost, but it looks like the script returns the user object before my synchronous task is completed
Encryption.encrypt(this.name, function(err, result) {
// doing stuff that takes a long time
}
//user object is returned before my encryption is competed
I'm a node newbie so there could be an obvious solution I'm not aware of

@NicolasRitouet
Copy link
Member

Great, I love documentation PRs 👍

@NicolasRitouet NicolasRitouet merged commit 2c936b5 into deployd:master Dec 16, 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.

2 participants