mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 19:16:41 +07:00
backend: route save / restore
This commit is contained in:
parent
032821329b
commit
d932fcb287
17 changed files with 163 additions and 43 deletions
|
@ -1,4 +1,4 @@
|
|||
const { User } = require('../../models/User');
|
||||
const { User } = require('../../models');
|
||||
|
||||
module.exports = (req, res) => User.find((err, articles) => {
|
||||
if (!err) return res.send(articles);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue