Browse Source

Merge branch 'master' of git.rezo-rm.fr:BDEMetz/bde-liste

master
johan 3 years ago
parent
commit
fd1fb9736a
  1. 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 (content.type) {
case "activity":
return {
success: true,
activityData: ActivityData
}
break;
default:
return auth;
break;
}
} else {
return auth
}

Loading…
Cancel
Save