create team backend

This commit is contained in:
Sendou
2020-06-14 12:51:38 +03:00
parent 2aa5c0602d
commit ce0fc2f489
8 changed files with 131 additions and 139 deletions

21
utils/mocks.js Normal file
View File

@@ -0,0 +1,21 @@
const mockUser = {
id: "5cee8f73d1120d4315c55011",
//team: "5e3ecc0ea7dd3830303eaaa7",
discord_id: "79237403620945920",
__v: 0,
avatar: "a22c9557975494f859242aaf9b317058",
discriminator: "0043",
twitch_name: "sendou",
twitter_name: "sendouc",
username: "Sendou",
top500: true,
custom_url: "sendou",
plus: {
membership_status: "ONE",
vouch_status: null,
plus_region: "EU",
can_vouch: "ONE",
},
}
module.exports = mockUser