Graph update and little noe ui tweaks
This commit is contained in:
@@ -65,5 +65,30 @@ router.post('/upload', upload.single('file'), function (req, res, next) {
|
||||
|
||||
})
|
||||
|
||||
//
|
||||
// Push URL to attachments
|
||||
//
|
||||
|
||||
// get push key
|
||||
router.get('/getpushkey', function (req, res) {
|
||||
|
||||
Attachment.delete(userId, req.body.attachmentId)
|
||||
.then( data => res.send(data) )
|
||||
})
|
||||
|
||||
// generate new push key
|
||||
router.post('/generatepushkey', function (req, res) {
|
||||
|
||||
})
|
||||
|
||||
// delete push key
|
||||
router.post('/deletepushkey', function (req, res) {
|
||||
|
||||
})
|
||||
|
||||
// push url to attchments
|
||||
router.get('/pushurl', function (req, res) {
|
||||
|
||||
})
|
||||
|
||||
module.exports = router
|
Reference in New Issue
Block a user