Skip to content

Commit 935bfa4

Browse files
authored
Fixing master (#13900)
* updating api_timer_layer_generated.go * Fixing GetFileInfos * Fixing TestPluginAPIGetFileInfos * Remove file.go.orig
1 parent 3500732 commit 935bfa4

File tree

5 files changed

+12
-1144
lines changed

5 files changed

+12
-1144
lines changed

app/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ func (a *App) GetFileInfo(fileId string) (*model.FileInfo, *model.AppError) {
10981098
}
10991099

11001100
func (a *App) GetFileInfos(page, perPage int, opt *model.GetFileInfosOptions) ([]*model.FileInfo, *model.AppError) {
1101-
return a.Srv.Store.FileInfo().GetWithOptions(page, perPage, opt)
1101+
return a.Srv().Store.FileInfo().GetWithOptions(page, perPage, opt)
11021102
}
11031103

11041104
func (a *App) GetFile(fileId string) ([]byte, *model.AppError) {

0 commit comments

Comments
 (0)