This commit is contained in:
srgooglo 2022-09-08 19:08:57 +02:00
parent 07d99cd68d
commit 6234cae12c

View File

@ -6,7 +6,7 @@ export default class PostsController extends Controller {
static refName = "PostsController" static refName = "PostsController"
//static useMiddlewares = ["withAuthentication"] //static useMiddlewares = ["withAuthentication"]
methods = { methods = {
createPost: async (payload) => { createPost: async (payload) => {
const { user_id, message, additions } = payload const { user_id, message, additions } = payload