Skip to content

Commit

Permalink
fix: get model issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tikazyq committed Jun 9, 2024
1 parent d55156c commit a848ec2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grpc/server/task_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ func (svr TaskServer) SendNotification(ctx context.Context, request *grpc.Reques
}
settings, _, err := svc.GetSettingList(bson.M{
"enabled": true,
}, nil, nil)
}, &entity.Pagination{
Page: 0,
Size: 99999,
}, nil)
if err != nil {
return nil, trace.TraceError(err)
}
Expand Down

0 comments on commit a848ec2

Please sign in to comment.