diff --git a/app/mix/service/notif_builder_handler.go b/app/mix/service/notif_builder_handler.go index 5f26f87a..56af0f33 100644 --- a/app/mix/service/notif_builder_handler.go +++ b/app/mix/service/notif_builder_handler.go @@ -479,9 +479,9 @@ func (handler *NotifBuilderHandler) handleAudStreamerDirectlyUpdated() { func (handler *NotifBuilderHandler) handleAudProfileChangeApplied() { handler.handlerMap[consts.AudNotifTemp_ProfileChangeApplied] = func(ctx *gin.Context, args ...any) { - zone := args[0].(*dbstruct.Zone) - if zone.Profile != nil { - DefaultService.utilWriteNotifInfo(ctx, consts.AudNotifTemp_ProfileChangeApplied, zone.GetMid()) + req := args[0].(*zoneproto.ApiUpdateReq) + if req.Zone.Profile != nil { + DefaultService.utilWriteNotifInfo(ctx, consts.AudNotifTemp_ProfileChangeApplied, req.Zone.GetMid()) } } }