Refactor and migrate more functions out of api into app package (#5063)

Этот коммит содержится в:
Joram Wilander
2017-01-13 15:17:50 -05:00
коммит произвёл Harrison Healey
родитель 97558f6a6e
Коммит 0e2b321e6f
33 изменённых файлов: 1673 добавлений и 1399 удалений

Просмотреть файл

@@ -469,7 +469,7 @@ func (c *Context) CheckTeamId() {
return
}
} else {
// just return because it fail on the HasPermissionToContext and the error is already on the Context c.Err
// HasPermissionToContext automatically fills the Context error
return
}
}