Assignees optimizations #47
|
@ -18,7 +18,6 @@ package models
|
|||
|
||||
import (
|
||||
"code.vikunja.io/web"
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// 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) {
|
||||
// Check if the user exists and has access to the list
|
||||
fmt.Println("getuserbyid")
|
||||
newAssignee, err := GetUserByID(newAssigneeID)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue