diff --git a/models/characters/add.go b/models/characters/add.go index 3f261e2..f4c4a44 100644 --- a/models/characters/add.go +++ b/models/characters/add.go @@ -25,7 +25,7 @@ func Add(nick, name, shortName, author, description string) (models.Character, e return models.Character{}, errors.New("Nick is occupied") } - nextID, err := counter.Next("auto_increment", "models.Character") + nextID, err := counter.Next("auto_increment", "Character") if err != nil { return models.Character{}, err }