remove seed from executable

This commit is contained in:
2024-10-31 20:59:11 +03:00
parent 5abe9b78cc
commit b2655b7f11
4 changed files with 2 additions and 26 deletions

View File

@@ -107,12 +107,6 @@ func main() {
lhs, err := handlers.NewLocalHandlerService(ctx, pfp, true, dbResource, cfg, rs)
lhs.SetDataStore(&userdataStore)
err = lhs.AdminStore.Seed()
if err != nil {
fmt.Fprintf(os.Stderr, err.Error())
os.Exit(1)
}
accountService := server.AccountService{}
hl, err := lhs.GetHandler(&accountService)