(req, res)
| 1010 | const nonVerifiedDiscordUsers = async () => { |
| 1011 | const data = await dataAccess.retrieveDiscordUsers(); |
| 1012 | return data; |
| 1013 | }; |
| 1014 | |
| 1015 | const setInDiscordScript = async (req, res) => { |
| 1016 | try { |
| 1017 | await setInDiscordFalseScript(); |
| 1018 | return res.json({ message: "Successfully added the in_discord field to false for all users" }); |
| 1019 | } catch (err) { |
| 1020 | return res.boom.badImplementation({ message: INTERNAL_SERVER_ERROR }); |
| 1021 | } |
| 1022 | }; |
nothing calls this directly
no test coverage detected