bla
This commit is contained in:
parent
3d7dde29dc
commit
7bd3aa4bb0
1 changed files with 12 additions and 0 deletions
12
index.js
12
index.js
|
@ -350,6 +350,18 @@ fastify.post('/get', async (request, reply) => {
|
|||
why: "Missing type"
|
||||
}
|
||||
}
|
||||
} else if ("type" in content) {
|
||||
switch (type) {
|
||||
case "activity":
|
||||
return {
|
||||
success: true,
|
||||
activityData: ActivityData
|
||||
}
|
||||
break;
|
||||
default:
|
||||
return auth;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
return auth
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue