Share: Provide API-endpoint for items collection #3

Merged
artem merged 3 commits from dev into main 2023-02-17 10:27:31 +01:00
Showing only changes of commit 481966768d - Show all commits

View File

@ -11,7 +11,7 @@ router.route("/")
database.share.collection(result => {
res.json(result).status(200).end();
})
})
});
router.route("/:id")
.get((req, res) => {
database.share.byId(req.params.id, result => {