MM-24876: local mode support for getPost (#14735)

Automatic Merge
Этот коммит содержится в:
Agniva De Sarker
2020-06-12 09:56:35 +05:30
коммит произвёл GitHub
родитель 172eb1853f
Коммит f30a62e303
3 изменённых файлов: 46 добавлений и 21 удалений

8
api4/post_local.go Обычный файл
Просмотреть файл

@@ -0,0 +1,8 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
package api4
func (api *API) InitPostLocal() {
api.BaseRoutes.Post.Handle("", api.ApiLocal(getPost)).Methods("GET")
}