lint fixes
This commit is contained in:
parent
f20b0cdca6
commit
e46b9749d1
1 changed files with 2 additions and 2 deletions
|
@ -46,14 +46,14 @@ func (a *App) PrepareOnboardingTour(userID string, teamID string) (string, strin
|
|||
}
|
||||
|
||||
func (a *App) getOnboardingBoardID() (string, error) {
|
||||
boards, err := a.store.GetTemplateBoards(GlobalTeamID, "")
|
||||
boards, err := a.store.GetTemplateBoards(model.GlobalTeamID, "")
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
|
||||
var onboardingBoardID string
|
||||
for _, block := range boards {
|
||||
if block.Title == WelcomeBoardTitle && block.TeamID == GlobalTeamID {
|
||||
if block.Title == WelcomeBoardTitle && block.TeamID == model.GlobalTeamID {
|
||||
onboardingBoardID = block.ID
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue