fix: Use module.exports instead of export default

This commit is contained in:
Blade Barringer
2016-03-04 13:29:51 -06:00
parent 4cd0428f0a
commit b97511db31
34 changed files with 53 additions and 53 deletions
+1 -1
View File
@@ -342,4 +342,4 @@ api.logout = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -565,4 +565,4 @@ api.selectChallengeWinner = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -392,4 +392,4 @@ api.deleteChat = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -226,4 +226,4 @@ api.exportUserAvatarPng = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -51,4 +51,4 @@ api.unsubscribe = {
},
};
export default api;
module.exports = api;
+3 -3
View File
@@ -497,12 +497,12 @@ async function _inviteByUUID (uuid, group, inviter, req, res) {
if (group.type === 'guild') {
emailVars.push(
{name: 'GUILD_NAME', content: group.name},
{name: 'GUILD_URL', content: '/#/options/groups/guilds/public'},
{name: 'GUILD_URL', content: '/#/options/groups/guilds/public'}
);
} else {
emailVars.push(
{name: 'PARTY_NAME', content: group.name},
{name: 'PARTY_URL', content: '/#/options/groups/party'},
{name: 'PARTY_URL', content: '/#/options/groups/party'}
);
}
@@ -642,4 +642,4 @@ api.inviteToGroup = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -189,4 +189,4 @@ api.updateHero = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -231,4 +231,4 @@ api.getChallengeMemberProgress = {
},
};
export default api;
module.exports = api;
@@ -36,4 +36,4 @@ api.getModelPaths = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -448,4 +448,4 @@ api.leaveQuest = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -144,4 +144,4 @@ api.deleteTag = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -923,4 +923,4 @@ api.deleteTask = {
},
};
export default api;
module.exports = api;
+1 -1
View File
@@ -156,4 +156,4 @@ api.castSpell = {
},
};
export default api;
module.exports = api;