nixpkgs/pkgs/servers/pocketbase/remove-update-method.patch
Thilo Billerbeck 9afc4d4efb pocketbase: 0.15.3 -> 0.16.3
updated pocketbase
2023-05-31 14:14:16 +02:00

22 lines
754 B
Diff

diff --git a/examples/base/main.go b/examples/base/main.go
index 908d31d..04b8f1d 100644
--- a/examples/base/main.go
+++ b/examples/base/main.go
@@ -10,7 +10,6 @@ import (
"github.com/pocketbase/pocketbase"
"github.com/pocketbase/pocketbase/apis"
"github.com/pocketbase/pocketbase/core"
- "github.com/pocketbase/pocketbase/plugins/ghupdate"
"github.com/pocketbase/pocketbase/plugins/jsvm"
"github.com/pocketbase/pocketbase/plugins/migratecmd"
)
@@ -80,9 +79,6 @@ func main() {
Dir: migrationsDir,
})
- // GitHub selfupdate
- ghupdate.MustRegister(app, app.RootCmd, nil)
-
app.OnAfterBootstrap().Add(func(e *core.BootstrapEvent) error {
app.Dao().ModelQueryTimeout = time.Duration(queryTimeout) * time.Second
return nil