mirror of
https://github.com/20kaushik02/spotify-manager.git
synced 2026-01-25 06:04:05 +00:00
editorconfig
This commit is contained in:
@@ -5,41 +5,41 @@ const { validate } = require("../validators");
|
||||
const { createLinkValidator, removeLinkValidator, populateSingleLinkValidator, pruneSingleLinkValidator } = require("../validators/operations");
|
||||
|
||||
router.put(
|
||||
"/update",
|
||||
updateUser
|
||||
"/update",
|
||||
updateUser
|
||||
);
|
||||
|
||||
router.get(
|
||||
"/fetch",
|
||||
fetchUser
|
||||
"/fetch",
|
||||
fetchUser
|
||||
);
|
||||
|
||||
router.post(
|
||||
"/link",
|
||||
createLinkValidator,
|
||||
validate,
|
||||
createLink
|
||||
"/link",
|
||||
createLinkValidator,
|
||||
validate,
|
||||
createLink
|
||||
);
|
||||
|
||||
router.delete(
|
||||
"/link",
|
||||
removeLinkValidator,
|
||||
validate,
|
||||
removeLink
|
||||
"/link",
|
||||
removeLinkValidator,
|
||||
validate,
|
||||
removeLink
|
||||
);
|
||||
|
||||
router.put(
|
||||
"/populate/link",
|
||||
populateSingleLinkValidator,
|
||||
validate,
|
||||
populateSingleLink
|
||||
"/populate/link",
|
||||
populateSingleLinkValidator,
|
||||
validate,
|
||||
populateSingleLink
|
||||
);
|
||||
|
||||
router.put(
|
||||
"/prune/link",
|
||||
pruneSingleLinkValidator,
|
||||
validate,
|
||||
pruneSingleLink
|
||||
"/prune/link",
|
||||
pruneSingleLinkValidator,
|
||||
validate,
|
||||
pruneSingleLink
|
||||
);
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user