1
0

Added tests for team <-> list relations

This commit is contained in:
konrad
2018-08-29 08:50:52 +02:00
committed by kolaente
parent 950533df21
commit 98e3d3e884
6 changed files with 99 additions and 13 deletions

View File

@ -1,6 +1,6 @@
package models
// ReadAll implements the method to read all teams of a namespace
// ReadAll implements the method to read all teams of a list
func (tl *TeamList) ReadAll(user *User) (interface{}, error) {
// Check if the user can read the namespace
l, err := GetListByID(tl.ListID)