wall GET
This commit is contained in:
parent
06f969b64e
commit
9e723d6515
1 changed files with 13 additions and 0 deletions
|
|
@ -1839,6 +1839,19 @@ module.exports = async (
|
|||
})
|
||||
}
|
||||
})
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
app.get(`/api/gun/wall`, async (req, res) => {
|
||||
try {
|
||||
const { page } = req.query;
|
||||
|
||||
return res.status(200).json(await GunGetters.Wall.getWallPage(page))
|
||||
} catch (err) {
|
||||
return res.status(500).json({
|
||||
errorMessage: err.message
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
app.post(`/api/gun/wall/`, async (req,res) => {
|
||||
try{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue