mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-19 04:10:19 +01:00
Merge pull request #400 from h3poteto/iss-385
fixes #385 Allow video to post toot
This commit is contained in:
commit
302ace1298
@ -93,7 +93,7 @@ const NewToot = {
|
||||
return client.post('/media', formData)
|
||||
.then(data => {
|
||||
commit('changeBlockSubmit', false)
|
||||
if (data.type !== 'image') throw new UnknownTypeError()
|
||||
if (data.type === 'unknown') throw new UnknownTypeError()
|
||||
commit('appendAttachedMedias', data)
|
||||
return data
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user