mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-13 17:48:14 +02:00
renamed OnClearBootstrap to OnBootstrapClear for consistency with the other hooks
This commit is contained in:
1 parent
114c01ac12
commit
adf4eb822f
4 files changed
+3208
-3202
No files matched your search
+2
-2
@@ -144,9 +144,9 @@ func NewTestAppWithConfig(config core.BaseAppConfig) (*TestApp, error) {
|
||||
Priority: -99999,
|
||||
})
|
||||
|
||||
t.OnClearBootstrap().Bind(&hook.Handler[*core.BootstrapEvent]{
|
||||
t.OnBootstrapClear().Bind(&hook.Handler[*core.BootstrapEvent]{
|
||||
Func: func(e *core.BootstrapEvent) error {
|
||||
t.registerEventCall("OnClearBootstrap")
|
||||
t.registerEventCall("OnBootstrapClear")
|
||||
return e.Next()
|
||||
},
|
||||
Priority: -99999,
|
||||
|
||||
Reference in new issue
Block a user