1
0

Refactor GetUser & GetUserByID

This commit is contained in:
konrad
2018-08-30 19:14:02 +02:00
committed by kolaente
parent aeb1521cc4
commit 478c98fb8d
26 changed files with 69 additions and 75 deletions

View File

@ -4,7 +4,7 @@ package models
func (lu *ListUser) Delete() (err error) {
// Check if the user exists
_, _, err = GetUserByID(lu.UserID)
_, err = GetUserByID(lu.UserID)
if err != nil {
return
}