parent
0763ae07b0
commit
5fbc08cf65
|
@ -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
|
||||
}
|
||||
|
|
|
@ -84,6 +84,5 @@ func PublisherAddOrUpdate(c echo.Context) error {
|
|||
}
|
||||
}*/
|
||||
|
||||
|
||||
return c.JSON(http.StatusOK, newPublisher)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user