fix: unable to change attachment name (#434)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/437/head
Ryan Wang 2022-02-11 15:55:39 +08:00 committed by GitHub
parent 28ecf16fe2
commit 35e47ee309
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,8 @@ export default {
return
}
try {
await apiClient.attachment.update(this.attachment.id, this.attachment)
// TODO sdk updateName
await apiClient.attachment.update(this.attachment.id, this.attachment.name)
} catch (error) {
this.$log.error(error)
} finally {