Remove unused endpoint
This commit is contained in:
parent
3bae8e5122
commit
bff2d1becb
1 changed files with 0 additions and 15 deletions
|
|
@ -2282,20 +2282,6 @@ module.exports = async (
|
||||||
ap.put(`/api/gun/follows/:publicKey`, apiGunFollowsPut)
|
ap.put(`/api/gun/follows/:publicKey`, apiGunFollowsPut)
|
||||||
ap.delete(`/api/gun/follows/:publicKey`, apiGunFollowsDelete)
|
ap.delete(`/api/gun/follows/:publicKey`, apiGunFollowsDelete)
|
||||||
|
|
||||||
/**
|
|
||||||
* @type {RequestHandler<{}>}
|
|
||||||
*/
|
|
||||||
const apiGunMeGet = async (_, res) => {
|
|
||||||
try {
|
|
||||||
return res.status(200).json(await GunGetters.getMyUser())
|
|
||||||
} catch (err) {
|
|
||||||
logger.error(err)
|
|
||||||
return res.status(500).json({
|
|
||||||
errorMessage: err.message
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @type {RequestHandler<{}>}
|
* @type {RequestHandler<{}>}
|
||||||
*/
|
*/
|
||||||
|
|
@ -2349,7 +2335,6 @@ module.exports = async (
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ap.get(`/api/gun/me`, apiGunMeGet)
|
|
||||||
ap.put(`/api/gun/me`, apiGunMePut)
|
ap.put(`/api/gun/me`, apiGunMePut)
|
||||||
|
|
||||||
ap.get(`/api/gun/auth`, (_, res) => {
|
ap.get(`/api/gun/auth`, (_, res) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue