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"] //static useMiddlewares = ["withAuthentication"]
get = { get = {
"/feed": { "/explore/posts": {
middlewares: ["withOptionalAuthentication"], middlewares: ["withOptionalAuthentication"],
fn: Schematized({ fn: Schematized({
select: ["user_id"] select: ["user_id"]