From 0867fe31a18ee0b39d85da2278a46946e279a976 Mon Sep 17 00:00:00 2001 From: olorin99 Date: Wed, 23 Sep 2026 09:41:15 +1000 Subject: [PATCH] Fix passing null values to piefed endpoint. --- lib/src/api/threads.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/src/api/threads.dart b/lib/src/api/threads.dart index 421f1d34..45db0899 100644 --- a/lib/src/api/threads.dart +++ b/lib/src/api/threads.dart @@ -474,10 +474,10 @@ class APIThreads { body: { 'title': title, 'community_id': communityId, - 'url': url, - 'body': body, + 'url': ?url, + 'body': ?body, 'nsfw': isAdult, - 'alt_text': alt, + 'alt_text': ?alt, 'language_id': await client.languageIdFromCode(lang), }, );