fmt
Some checks failed
the build failed

This commit is contained in:
konrad 2018-03-06 13:43:07 +01:00 committed by kolaente
parent 0763ae07b0
commit 5fbc08cf65
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
4 changed files with 7 additions and 8 deletions

View File

@ -63,7 +63,7 @@ func SetEngine() (err error) {
if total < 1 {
Config.FirstUser.IsAdmin = true // Make the first user admin
_, err = CreateUser(Config.FirstUser, &User{ID:0})
_, err = CreateUser(Config.FirstUser, &User{ID: 0})
if err != nil {
return err
}

View File

@ -84,6 +84,5 @@ func PublisherAddOrUpdate(c echo.Context) error {
}
}*/
return c.JSON(http.StatusOK, newPublisher)
}