-
Notifications
You must be signed in to change notification settings - Fork 41
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
(PC-33625)[API] fix: Don’t create offerer address every time we patch… #16055
(PC-33625)[API] fix: Don’t create offerer address every time we patch… #16055
Conversation
Visit the preview URL for this PR (updated for commit a121e35): https://pc-pro-testing--pr16055-dramelet-pc-33625-do-lnoenlhv.web.app (expires Fri, 31 Jan 2025 19:48:13 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 032d233ee67e1c50d6af12e29c936c7076770eb1 |
a4d6fc4
to
b01946f
Compare
b01946f
to
ab402e5
Compare
ab402e5
to
ae1b5e6
Compare
@@ -37,10 +37,17 @@ def fullAddress(self) -> str: | |||
return f"{self.street} {self.postalCode} {self.city}" if self.street else f"{self.postalCode} {self.city}" | |||
|
|||
def field_exists_and_has_changed(self, field: str, value: typing.Any) -> typing.Any: | |||
if field in ("latitude", "longitude"): | |||
# Rounding to five digits to keep consistency with the columns definitions | |||
# We don’t want to consider coordinates has changed is actually the rounded value is the same |
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.
# We don’t want to consider coordinates has changed is actually the rounded value is the same | |
# We don’t want to consider coordinates has changed if the rounded value is the same |
Mini typo =)
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.
corrigé !
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.
C'est bon pour moi =)
ae1b5e6
to
5cbd6a5
Compare
9015702
to
81230c4
Compare
81230c4
to
ac46f61
Compare
… the venue
But de la pull request
Ticket Jira (ou description si BSR) : https://passculture.atlassian.net/browse/PC-33625
Vérifications