diff --git a/pkg/model/nats.go b/pkg/model/nats.go index 3c7a257..e16416c 100644 --- a/pkg/model/nats.go +++ b/pkg/model/nats.go @@ -20,6 +20,7 @@ type PublishNewRequest struct{ ModelVersion uint64 Creator string DisplayName string + GameID uint32 //games HashSet } diff --git a/pkg/service/submissions.go b/pkg/service/submissions.go index 39ca1c1..af93ca0 100644 --- a/pkg/service/submissions.go +++ b/pkg/service/submissions.go @@ -301,6 +301,7 @@ func (svc *Service) ActionSubmissionTriggerPublish(ctx context.Context, params a ModelVersion: submission.AssetVersion, Creator: submission.Creator, DisplayName: submission.DisplayName, + GameID: uint32(submission.GameID), } j, err := json.Marshal(publish_new_request) diff --git a/validation/src/nats_types.rs b/validation/src/nats_types.rs index 04085cb..ea6c142 100644 --- a/validation/src/nats_types.rs +++ b/validation/src/nats_types.rs @@ -23,6 +23,7 @@ pub struct PublishNewRequest{ pub ModelVersion:u64, pub Creator:String, pub DisplayName:String, + pub GameID:u32, //games:HashSet, }