Update index.js

This commit is contained in:
arshdeep-dml 2025-05-30 11:29:31 +00:00
parent a7175ebd36
commit 925873a1de

View file

@ -2,13 +2,15 @@ const {
createShortUrl, createShortUrl,
getOriginalUrl, getOriginalUrl,
startScheduler, startScheduler,
getAllData getAllData,
getPaginatedData
} = require("./utils/helperFunctions"); } = require("./utils/helperFunctions");
module.exports = { module.exports = {
getShortenUrlCode: createShortUrl, getShortenUrlCode: createShortUrl,
getOriginalUrlByShortCode: getOriginalUrl, getOriginalUrlByShortCode: getOriginalUrl,
deleteExpiredShortUrlsCodes: startScheduler, deleteExpiredShortUrlsCodes: startScheduler,
getAllData getAllData,
getPaginatedData,
}; };