fix: adding description not working on media
This commit is contained in:
parent
b070e85566
commit
324cc5509e
3 changed files with 8 additions and 4 deletions
|
@ -1446,6 +1446,11 @@ export default class Misskey implements MegalodonInterface {
|
|||
isSensitive: options.is_sensitive
|
||||
})
|
||||
}
|
||||
if (options.description !== undefined) {
|
||||
params = Object.assign(params, {
|
||||
comment: options.description,
|
||||
});
|
||||
}
|
||||
}
|
||||
return this.client
|
||||
.post<MisskeyAPI.Entity.File>('/api/drive/files/update', params)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue