rename endpoint to /explore/posts

This commit is contained in:
srgooglo 2022-11-14 01:31:27 +00:00
parent 6f2e5a5fee
commit 3666454e59

View File

@ -8,7 +8,7 @@ export default class PostsController extends Controller {
//static useMiddlewares = ["withAuthentication"]
get = {
"/feed": {
"/explore/posts": {
middlewares: ["withOptionalAuthentication"],
fn: Schematized({
select: ["user_id"]