mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +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 {
|
export default {
|
||||||
useMiddlewares: ["withOptionalAuthentication"],
|
useMiddlewares: ["withOptionalAuthentication"],
|
||||||
fn: async (req, res) => {
|
fn: async (req) => {
|
||||||
const result = await Posts.data({
|
const result = await Posts.data({
|
||||||
post_id: req.params.post_id,
|
post_id: req.params.post_id,
|
||||||
for_user_id: req.auth?.session?.user_id,
|
for_user_id: req.auth?.session?.user_id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user