Update index.js
This commit is contained in:
parent
a7175ebd36
commit
925873a1de
6
index.js
6
index.js
|
@ -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,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue