Created
June 7, 2019 11:16
-
-
Save khola/6d85901c7b9a0e5d082322e3f77d5b9b 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
#if($context.result["User"] == $context.identity.claims.get("email")) | |
$util.toJson($context.result); | |
#else | |
$util.unauthorized() | |
#end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment