Created
May 21, 2018 05:52
-
-
Save DavidOndrus/23a2f2d13e13d9a6a2ed3f3389b5b35e to your computer and use it in GitHub Desktop.
User service
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
getCurrentUser(waterwheelInstance, username) { | |
return waterwheelInstance.jsonapi.get('user/user', { | |
filter: { name: { value: username } } } ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment