Fix using -[NSObject description] instead of attachmentDescription field

This commit is contained in:
Shadowfacts 2022-05-16 22:53:27 -04:00
parent 90809811c1
commit 65e75afa8b
1 changed files with 1 additions and 1 deletions

View File

@ -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 {