Skip to content

Commit f482340

Browse files
committed
fix: include Creator field in station details update
1 parent ed45047 commit f482340

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

x/trackgate/keeper/msg_server_migrate_schema.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func (k msgServer) MigrateSchema(goCtx context.Context, msg *types.MsgMigrateSch
6666

6767
// update codes
6868
updateStationDetails := types.ExtTrackStations{
69+
Creator: stationData.Creator,
6970
Operators: stationData.Operators,
7071
LatestPod: stationData.LatestPod,
7172
LatestAcknowledgementHash: stationData.LatestAcknowledgementHash,

x/trackgate/keeper/msg_server_schema_creation.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ func (k msgServer) SchemaCreation(goCtx context.Context, msg *types.MsgSchemaCre
8484
if stationData.StationSchemaKey == "none" {
8585
// update codes
8686
updateStationDetails := types.ExtTrackStations{
87+
Creator: stationData.Creator,
8788
Operators: stationData.Operators,
8889
LatestPod: stationData.LatestPod,
8990
LatestAcknowledgementHash: stationData.LatestAcknowledgementHash,

0 commit comments

Comments
 (0)