I need to get back into using git. The hell is wrong with me!?
This commit is contained in:
1 parent
7b77bd37f3
commit
6fe39406b7
135 files changed
+53273
-699
No files matched your search
@@ -0,0 +1,15 @@
|
||||
var express = require('express')
|
||||
var router = express.Router()
|
||||
|
||||
let Notes = require('@models/Note')
|
||||
|
||||
router.post('/note', function (req, res) {
|
||||
|
||||
Notes.getShared(req.body.noteId)
|
||||
.then( data => res.send(data) )
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
||||
module.exports = router
|
||||
Reference in new issue
Block a user