4.1.3
This commit is contained in:
@@ -21,7 +21,11 @@ const {
|
||||
startDeviceLink,
|
||||
getDeviceLinkSession,
|
||||
approveDeviceLink,
|
||||
pollDeviceLink
|
||||
pollDeviceLink,
|
||||
getOrCreateAutoBackupSecret,
|
||||
putKeyBackup,
|
||||
getKeyBackup,
|
||||
deleteKeyBackup
|
||||
} = require('../../../controllers/application/account/e2eeController')
|
||||
|
||||
const router = express.Router()
|
||||
@@ -44,5 +48,9 @@ router.post('/e2ee/device-link', auth, blockCheck, startDeviceLink)
|
||||
router.get('/e2ee/device-link/:linkId', auth, blockCheck, getDeviceLinkSession)
|
||||
router.post('/e2ee/device-link/:linkId/approve', auth, blockCheck, approveDeviceLink)
|
||||
router.get('/e2ee/device-link/:linkId/poll', auth, blockCheck, pollDeviceLink)
|
||||
router.get('/e2ee/auto-backup-secret', auth, blockCheck, getOrCreateAutoBackupSecret)
|
||||
router.put('/e2ee/key-backup', auth, blockCheck, putKeyBackup)
|
||||
router.get('/e2ee/key-backup', auth, blockCheck, getKeyBackup)
|
||||
router.delete('/e2ee/key-backup', auth, blockCheck, deleteKeyBackup)
|
||||
|
||||
module.exports = router
|
||||
|
||||
Reference in New Issue
Block a user