Skip to content
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

Refresh media URL when it expired #23

Merged
merged 1 commit into from Jan 14, 2023
Merged

Refresh media URL when it expired #23

merged 1 commit into from Jan 14, 2023

Conversation

jhansche
Copy link
Owner

Once the entity_picture is set, it would not be updated unless a new postcard is received. The media URLs expire, so this leads to an unusable entity_picture once it expires.

When accessing the entity_picture, if that URL is expired, unset it and try to refresh.

Once the entity_picture is set, it would not be updated unless a new
postcard is received. The media URLs expire, so this leads to an
unusable entity_picture once it expires.

When accessing the entity_picture, if that URL is expired, unset it and
try to refresh.
@jhansche jhansche merged commit f4696e9 into main Jan 14, 2023
@jhansche jhansche deleted the pr/media-refresh branch January 14, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant