1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-01-20 18:28:25 +02:00

Used gobal team ID

This commit is contained in:
Harshil Sharma 2022-03-31 10:33:40 +05:30
parent 4f5a0e2eb6
commit eedfe427e2
2 changed files with 2 additions and 2 deletions

View File

@ -46,7 +46,7 @@ func (a *App) PrepareOnboardingTour(userID string, teamID string) (string, strin
}
func (a *App) getOnboardingBoardID() (string, error) {
boards, err := a.store.GetTemplateBoards("0", "")
boards, err := a.store.GetTemplateBoards(globalTeamID, "")
if err != nil {
return "", err
}

View File

@ -23,7 +23,7 @@ func (a *App) InitTemplates() error {
// initializeTemplates imports default templates if the boards table is empty.
func (a *App) initializeTemplates() (bool, error) {
boards, err := a.store.GetTemplateBoards(globalTeamID)
boards, err := a.store.GetTemplateBoards(globalTeamID, "")
if err != nil {
return false, fmt.Errorf("cannot initialize templates: %w", err)
}