mirror of
https://github.com/imputnet/cobalt.git
synced 2026-08-01 07:04:17 -05:00
[PR #1102] [MERGED] make web picker more resilient to incorrect api responses & fall back to photo in an instagram picker if video url is missing #25991
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/1102
Author: @wukko
Created: 2/11/2025
Status: ✅ Merged
Merged: 2/11/2025
Merged by: @github-actions[bot]
Base:
main← Head:picker-patch📝 Commits (4)
366279aweb/PickerDialog: don't render an item if it has no urlf76d40bweb/PickerItem: make sure the item url is valid14556b3web/PickerDialog: ignore wrong items in an array4dc7d28api/instagram: fall back to photo in extractOldPost if video has no url📊 Changes
3 files changed (+22 additions, -10 deletions)
View changed files
📝
api/src/processing/services/instagram.js(+3 -3)📝
web/src/components/dialog/PickerDialog.svelte(+3 -1)📝
web/src/components/dialog/PickerItem.svelte(+16 -6)📄 Description
closes #1068
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.