added the link pruning functionality

lot to correct and improve tho
This commit is contained in:
2024-08-02 15:14:03 +05:30
parent b20b15a29a
commit aba341d7a1
5 changed files with 264 additions and 24 deletions

View File

@@ -26,5 +26,6 @@ const createLinkValidator = async (req, res, next) => {
module.exports = {
createLinkValidator,
removeLinkValidator: createLinkValidator,
populateMissingInLinkValidator: createLinkValidator
populateMissingInLinkValidator: createLinkValidator,
pruneExcessInLinkValidator: createLinkValidator,
}