MCPcopy Create free account
hub / github.com/badyun/AShare / get

Function get

controller/account.js:5–8  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

3module.exports = {
4 list: {
5 async get(req, res) {
6 let s = db('account').filter({ adminId: req.info.userInfo.id }).value()
7 res.return(s)
8 },
9 async put(req, res) {
10 const cloud = new Cloud()
11 try {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected