This commit is contained in:
parent
1548bbccc3
commit
954d6b1170
|
@ -18,7 +18,6 @@ package models
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"code.vikunja.io/web"
|
"code.vikunja.io/web"
|
||||||
"fmt"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// ListTaskAssginee represents an assignment of a user to a task
|
// ListTaskAssginee represents an assignment of a user to a task
|
||||||
|
@ -172,7 +171,6 @@ func (la *ListTaskAssginee) Create(a web.Auth) (err error) {
|
||||||
|
|
||||||
func (t *ListTask) addNewAssigneeByID(newAssigneeID int64, list *List) (err error) {
|
func (t *ListTask) addNewAssigneeByID(newAssigneeID int64, list *List) (err error) {
|
||||||
// Check if the user exists and has access to the list
|
// Check if the user exists and has access to the list
|
||||||
fmt.Println("getuserbyid")
|
|
||||||
newAssignee, err := GetUserByID(newAssigneeID)
|
newAssignee, err := GetUserByID(newAssigneeID)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
|
Loading…
Reference in New Issue
Block a user