From 65e75afa8b133134be8006c7a7bd1e8b99f1d7d8 Mon Sep 17 00:00:00 2001
From: Shadowfacts <me@shadowfacts.net>
Date: Mon, 16 May 2022 22:53:27 -0400
Subject: [PATCH] Fix using -[NSObject description] instead of
 attachmentDescription field

---
 Tusker/Services/PostService.swift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Tusker/Services/PostService.swift b/Tusker/Services/PostService.swift
index 1050394dc..37bd9ed82 100644
--- a/Tusker/Services/PostService.swift
+++ b/Tusker/Services/PostService.swift
@@ -74,7 +74,7 @@ class PostService: ObservableObject {
                 throw Error.attachmentData(index: index, cause: error)
             }
             do {
-                let uploaded = try await uploadAttachment(data: data, mimeType: mimeType, description: attachment.description)
+                let uploaded = try await uploadAttachment(data: data, mimeType: mimeType, description: attachment.attachmentDescription)
                 attachments.append(uploaded)
                 currentStep += 1
             } catch let error as Client.Error {