-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
B 21170 INT 2 - Ensure USPostRegionsCitiesID populates in a scenarios #14467
Changes from 11 commits
c06db09
6a54cc0
7ac99f8
31c40c0
ce5f187
6b2f4e4
f09af9f
c9118ca
311f8df
9e4091c
ddeea73
8ffee87
bc76751
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -289,7 +289,8 @@ func Address(address *models.Address) *primemessages.Address { | |
if address == nil { | ||
return nil | ||
} | ||
return &primemessages.Address{ | ||
|
||
payloadAddress := &primemessages.Address{ | ||
ID: strfmt.UUID(address.ID.String()), | ||
StreetAddress1: &address.StreetAddress1, | ||
StreetAddress2: address.StreetAddress2, | ||
|
@@ -301,6 +302,12 @@ func Address(address *models.Address) *primemessages.Address { | |
County: address.County, | ||
ETag: etag.GenerateEtag(address.UpdatedAt), | ||
} | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I saw this too, @ajlusk just fixed it so do a pull of latest and test it again. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Resolved in commits right before you posted this. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I pulled latest and I still see the issue. |
||
if address.UsPostRegionCityID != nil && address.UsPostRegionCityID != &uuid.Nil { | ||
payloadAddress.UsPostRegionCitiesID = strfmt.UUID(address.UsPostRegionCityID.String()) | ||
} | ||
|
||
return payloadAddress | ||
} | ||
|
||
// StorageFacility payload | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
MVP for fixing stuff like this