forked from shadowfacts/Tusker
Fix using -[NSObject description] instead of attachmentDescription field
This commit is contained in:
parent
90809811c1
commit
65e75afa8b
|
@ -74,7 +74,7 @@ class PostService: ObservableObject {
|
||||||
throw Error.attachmentData(index: index, cause: error)
|
throw Error.attachmentData(index: index, cause: error)
|
||||||
}
|
}
|
||||||
do {
|
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)
|
attachments.append(uploaded)
|
||||||
currentStep += 1
|
currentStep += 1
|
||||||
} catch let error as Client.Error {
|
} catch let error as Client.Error {
|
||||||
|
|
Loading…
Reference in New Issue