1
0

updated todo

+ fmt
This commit is contained in:
konrad
2018-07-24 17:47:08 +02:00
parent 26c2ad078f
commit 7dc8699cbd
4 changed files with 9 additions and 9 deletions

View File

@ -178,7 +178,7 @@ func (err ErrNeedToBeListWriter) Error() string {
// ErrNeedToHaveListReadAccess represents an error, where the user dont has read access to that List
type ErrNeedToHaveListReadAccess struct {
ListID int64
UserID int64
UserID int64
}
// IsErrNeedToHaveListReadAccess checks if an error is a ErrListDoesNotExist.
@ -438,7 +438,7 @@ func (err ErrInvalidTeamRight) Error() string {
// ErrTeamAlreadyHasAccess represents an error where a team already has access to a list/namespace
type ErrTeamAlreadyHasAccess struct {
TeamID int64
ID int64
ID int64
}
// IsErrTeamAlreadyHasAccess checks if an error is ErrTeamAlreadyHasAccess.
@ -449,4 +449,4 @@ func IsErrTeamAlreadyHasAccess(err error) bool {
func (err ErrTeamAlreadyHasAccess) Error() string {
return fmt.Sprintf("This team already has access. [Team ID: %d, ID: %d]", err.TeamID, err.ID)
}
}