mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
comment out incomplete code
This commit is contained in:
@@ -145,7 +145,7 @@ api.loginLocal = {
|
|||||||
// Called as a callback by Facebook (or other social providers)
|
// Called as a callback by Facebook (or other social providers)
|
||||||
api.loginSocial = {
|
api.loginSocial = {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
url: '/user/aurh/social',
|
url: '/user/auth/social',
|
||||||
handler (req, res, next) {
|
handler (req, res, next) {
|
||||||
let accessToken = req.body.authResponse.access_token;
|
let accessToken = req.body.authResponse.access_token;
|
||||||
let network = req.body.network;
|
let network = req.body.network;
|
||||||
@@ -204,13 +204,13 @@ api.loginSocial = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
api.attachSocial = {
|
/* api.attachSocial = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
api.deleteSocial = {
|
api.deleteSocial = {
|
||||||
|
|
||||||
};
|
};*/
|
||||||
|
|
||||||
|
|
||||||
export default api;
|
export default api;
|
||||||
|
|||||||
Reference in New Issue
Block a user