[MM-15274] Migrate "Team.Get" to Sync by default (#10694)

* Migrate Team.Get to Sync by default

* change parseRange return value to ok

* fix formatting

* remove err checks

* use require.nil

* require nil
This commit is contained in:
tengis b
2019-04-27 01:18:07 +09:00
committed by Jesús Espino
parent 2f237d68b7
commit 8252eab5da
14 changed files with 115 additions and 98 deletions

View File

@@ -84,7 +84,7 @@ type TeamStore interface {
Save(team *model.Team) StoreChannel
Update(team *model.Team) (*model.Team, *model.AppError)
UpdateDisplayName(name string, teamId string) StoreChannel
Get(id string) StoreChannel
Get(id string) (*model.Team, *model.AppError)
GetByName(name string) StoreChannel
SearchByName(name string) StoreChannel
SearchAll(term string) StoreChannel