1
0

Added docs via swagger

This commit is contained in:
kolaente
2018-06-13 13:45:22 +02:00
parent 0652125c25
commit 4589f3b4bb
17 changed files with 410 additions and 48 deletions

View File

@ -95,7 +95,7 @@ func DeleteListItemByID(itemID int64, doer *User) (err error) {
// Check if the user hat the right to delete that item
if listitem.CreatedByID != doer.ID {
return ErrNeedToBeItemOwner{ItemID:itemID, UserID: doer.ID}
return ErrNeedToBeItemOwner{ItemID: itemID, UserID: doer.ID}
}
_, err = x.ID(itemID).Delete(ListItem{})