route param optional
This commit is contained in:
parent
140b0a43b0
commit
c569526c52
1 changed files with 1 additions and 1 deletions
|
|
@ -1842,7 +1842,7 @@ module.exports = async (
|
||||||
})
|
})
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
app.get(`/api/gun/wall/:publicKey`, async (req, res) => {
|
app.get(`/api/gun/wall/:publicKey?`, async (req, res) => {
|
||||||
try {
|
try {
|
||||||
const { page } = req.query;
|
const { page } = req.query;
|
||||||
const {publicKey} = req.params
|
const {publicKey} = req.params
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue