mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
remove old module.exports from server aswell
This commit is contained in:
@@ -432,4 +432,4 @@ api.deleteSocial = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -827,4 +827,4 @@ api.cloneChallenge = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -542,4 +542,4 @@ api.deleteChat = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -135,4 +135,4 @@ api.getContent = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -137,4 +137,4 @@ api.validateCoupon = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -19,4 +19,4 @@ api.cron = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -198,4 +198,4 @@ api.questProgress = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -1217,4 +1217,4 @@ api.getGroupPlans = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -302,4 +302,4 @@ api.updateHero = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -43,4 +43,4 @@ api.geti18nBrowserScript = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
// NOTE: this file is only used because the mobile apps expect IAP routes
|
||||
// to be found at /api/v3/iap instead of /iap.
|
||||
|
||||
module.exports = require('../top-level/payments/iap');
|
||||
import iap from '../top-level/payments/iap';
|
||||
export default iap;
|
||||
|
||||
@@ -33,4 +33,4 @@ api.getInboxMessages = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -737,4 +737,4 @@ api.transferGems = {
|
||||
};
|
||||
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -51,4 +51,4 @@ api.getModelPaths = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -87,4 +87,4 @@ api.tellMeLaterNews = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -191,4 +191,4 @@ api.seeNotifications = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -103,4 +103,4 @@ api.removePushDevice = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -513,4 +513,4 @@ api.leaveQuest = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -142,4 +142,4 @@ api.getBackgroundShopItems = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -22,4 +22,4 @@ api.getStatus = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -246,4 +246,4 @@ api.deleteTag = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -1356,4 +1356,4 @@ api.deleteTask = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -541,4 +541,4 @@ api.getGroupApprovals = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -1689,4 +1689,4 @@ api.movePinnedItem = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -65,4 +65,4 @@ api.castSpell = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -134,4 +134,4 @@ api.allocateNow = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -222,4 +222,4 @@ api.deleteWebhook = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
@@ -43,4 +43,4 @@ api.getWorldState = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = api;
|
||||
export default api;
|
||||
|
||||
Reference in New Issue
Block a user