docs-mastodon/content/en
David Whetstone ce8146cf60
Mark MediaAttachment.preview_url, blurhash as nullable (#1457)
* Mark MediaAttachment.preview_url as nullable

Had a payload in the wild where preview_url was `null` and the method that generates this value can certainly return `nil` if none of its conditions are met: d326ad0ed9/app/serializers/rest/media_attachment_serializer.rb (L30-L38)

Also both TootSDK and IceCubesApp have this property as nullable.

* Mark MediaAttachment.blurhash as nullable

When the attachment has type `audio`, `blurhash` is `null`.
2024-06-19 10:45:48 +02:00
..
admin Add config for REDIS_DRIVER (#1462) 2024-06-19 10:45:28 +02:00
api Added a lot of spelling fixes in the English documentation (#1350) 2023-12-07 19:46:29 +00:00
client Update authorized.md (#1455) 2024-06-11 11:17:47 +01:00
dev Consistent use of Postgres and PgBouncer (#1353) 2023-12-10 18:40:20 +00:00
entities Mark MediaAttachment.preview_url, blurhash as nullable (#1457) 2024-06-19 10:45:48 +02:00
methods Add documentation for notification policies (#1447) 2024-06-13 18:01:35 +02:00
spec Fix http -> https (#1386) 2024-01-11 09:50:13 +01:00
user Profile: Mention 1MB response limit for verification (#1402) 2024-02-10 00:01:31 +00:00
_index.md Fix: Typo in documentation (#1379) 2024-01-14 00:35:04 +00:00