MM-25071: local mode for getPostsForChannel (#14848)

Этот коммит содержится в:
Ashish Bhate
2020-06-22 14:06:37 +05:30
коммит произвёл GitHub
родитель e5addef19b
Коммит 0e714f350a
3 изменённых файлов: 102 добавлений и 95 удалений

Просмотреть файл

@@ -305,6 +305,7 @@ func InitLocal(configservice configservice.ConfigService, globalOptionsFunc app.
api.BaseRoutes.Posts = api.BaseRoutes.ApiRoot.PathPrefix("/posts").Subrouter()
api.BaseRoutes.Post = api.BaseRoutes.Posts.PathPrefix("/{post_id:[A-Za-z0-9]+}").Subrouter()
api.BaseRoutes.PostsForChannel = api.BaseRoutes.Channel.PathPrefix("/posts").Subrouter()
api.InitUserLocal()
api.InitTeamLocal()