summaryrefslogtreecommitdiff
path: root/app/api_test.go
Commit message (Collapse)AuthorAgeFilesLines
* fix: correct inverted media guard in sendMediav1.3.9Christian Cleberg9 hours1-0/+59
sendMedia returned when the assembled URL was non-empty — i.e. for every deviation that actually has media — so the random-media endpoint served an empty body and never sent the image. For a media-less deviation it instead fell through to mediaURL[21:] on an empty string, panicking in proxy mode. Guard on len == 0 so real media is sent and absent media is a no-op.