forked from mirror/gorm
Fix callbacks with Match
This commit is contained in:
parent
669ce48f19
commit
e959a67f87
|
@ -150,6 +150,7 @@ func (p *processor) compile() (err error) {
|
|||
callbacks = append(callbacks, callback)
|
||||
}
|
||||
}
|
||||
p.callbacks = callbacks
|
||||
|
||||
if p.fns, err = sortCallbacks(p.callbacks); err != nil {
|
||||
logger.Default.Error(context.Background(), "Got error when compile callbacks, got %v", err)
|
||||
|
|
Loading…
Reference in New Issue