Created
November 30, 2018 17:12
-
-
Save goatandsheep/198f10fbb2b6b8fcb5f74bb0efa7e0d4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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(${ctx.identity.username} != ${context.result.parentId}) | |
$utils.unauthorized() | |
#else | |
$util.toJson($ctx.result) | |
#end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment