Created
May 20, 2020 20:28
-
-
Save IchordeDionysos/f0db76bdfcc4bc720d17134f7d56bd7b to your computer and use it in GitHub Desktop.
Include function file Medium Article
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
function isAdmin() { | |
return request.auth.token.admin == true; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment