updated todo

+ fmt
This commit is contained in:
konrad 2018-07-24 17:47:08 +02:00
parent 26c2ad078f
commit 7dc8699cbd
Signed by untrusted user: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 9 additions and 9 deletions

View File

@ -136,10 +136,10 @@ Teams sind global, d.h. Ein Team kann mehrere Namespaces verwalten.
* [x] Create * [x] Create
* [x] ReadAll * [x] ReadAll
* [x] Delete * [x] Delete
* [ ] `lists/:id/teams` * [x] `lists/:id/teams`
* [ ] Create * [x] Create
* [ ] ReadAll * [x] ReadAll
* [ ] Delete * [x] Delete
#### v0.3 #### v0.3

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 // ErrNeedToHaveListReadAccess represents an error, where the user dont has read access to that List
type ErrNeedToHaveListReadAccess struct { type ErrNeedToHaveListReadAccess struct {
ListID int64 ListID int64
UserID int64 UserID int64
} }
// IsErrNeedToHaveListReadAccess checks if an error is a ErrListDoesNotExist. // 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 // ErrTeamAlreadyHasAccess represents an error where a team already has access to a list/namespace
type ErrTeamAlreadyHasAccess struct { type ErrTeamAlreadyHasAccess struct {
TeamID int64 TeamID int64
ID int64 ID int64
} }
// IsErrTeamAlreadyHasAccess checks if an error is ErrTeamAlreadyHasAccess. // IsErrTeamAlreadyHasAccess checks if an error is ErrTeamAlreadyHasAccess.