mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
removed unused argument
This commit is contained in:
parent
87f746d5b9
commit
d38d449c28
@ -2,7 +2,7 @@ import Posts from "@classes/posts"
|
||||
|
||||
export default {
|
||||
useMiddlewares: ["withOptionalAuthentication"],
|
||||
fn: async (req, res) => {
|
||||
fn: async (req) => {
|
||||
const result = await Posts.data({
|
||||
post_id: req.params.post_id,
|
||||
for_user_id: req.auth?.session?.user_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user