Update index.js
This commit is contained in:
parent
a7175ebd36
commit
925873a1de
6
index.js
6
index.js
|
@ -2,13 +2,15 @@ const {
|
|||
createShortUrl,
|
||||
getOriginalUrl,
|
||||
startScheduler,
|
||||
getAllData
|
||||
getAllData,
|
||||
getPaginatedData
|
||||
} = require("./utils/helperFunctions");
|
||||
|
||||
module.exports = {
|
||||
getShortenUrlCode: createShortUrl,
|
||||
getOriginalUrlByShortCode: getOriginalUrl,
|
||||
deleteExpiredShortUrlsCodes: startScheduler,
|
||||
getAllData
|
||||
getAllData,
|
||||
getPaginatedData,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue