mirror of
https://github.com/yunionio/cloudpods.git
synced 2026-08-30 17:13:08 +08:00
fix(notify): SetModelManager to delete successfully
This commit is contained in:
@@ -79,5 +79,6 @@ func (srm *SSubscriberReceiverManager) delete(sId, receiverId string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
sr.SetModelManager(srm, &sr)
|
||||
return sr.Delete(context.Background(), nil)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user