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

Function delete

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

Source from the content-addressed store, hash-verified

41 }
42 },
43 async delete(req, res) {
44 db('account').remove({ adminId: req.info.userInfo.id, id: req.body.id }).write()
45 res.return('删除成功')
46 }
47 }
48}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected