Created
January 4, 2018 17:39
-
-
Save m-b-davis/6ace13f2d7e6fc39d30c3c390108a8e8 to your computer and use it in GitHub Desktop.
payload for login
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
{ | |
user: { | |
name: "John Smith", | |
id: 1, | |
email: "js123@soton.ac.uk", | |
adminOfSocieties: [0, 3, 7], // society ids john is an admin of otherwise return empty list [] | |
memberOfSocieties: [1, 2, 3, 6, 8] // society ids john is a member of otherwise return empty list [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment