This commit is contained in:
payacom
2026-09-24 21:03:27 +03:30
parent 7f0ddfde70
commit 806471241e
43 changed files with 2166 additions and 144 deletions

View File

@@ -0,0 +1,15 @@
const express = require('express')
const {
getMyShareableLinks,
toggleShareableLink,
getShareableLinksForUsers
} = require('../../../controllers/application/shareableLinks/shareableLinksController')
const blockCheck = require('../../../middlewares/blockCheck')
const router = express.Router()
router.get('/mine', [blockCheck], getMyShareableLinks)
router.post('/toggle', [blockCheck], toggleShareableLink)
router.get('/for-users', [blockCheck], getShareableLinksForUsers)
module.exports = router