static async addGoogleUser()

in edu-analytics-be/web/app/controller/studentController.js [100:110]


    static async addGoogleUser(req, res, next) {
        try {
            const token = req.get('Authorization');
            const data = await StudentEntity.addGoogleUser(token, req.params.userType);
            res.send(data).status(201);
        } catch (error) {
            res.status(400).send(data);
            next();
        }

    }