remove old module.exports from server aswell

This commit is contained in:
Matteo Pagliazzi
2019-10-02 19:45:27 +02:00
parent e0a2528a4f
commit 45f7cf04ab
91 changed files with 116 additions and 127 deletions

View File

@@ -21,7 +21,7 @@ function _passportProfile (network, accessToken) {
});
}
async function loginSocial (req, res) {
export async function loginSocial (req, res) {
const existingUser = res.locals.user;
const accessToken = req.body.authResponse.access_token;
const network = req.body.network;
@@ -111,7 +111,3 @@ async function loginSocial (req, res) {
return null;
}
module.exports = {
loginSocial,
};