make idempotency watch entire status
This commit is contained in:
parent
89a677f5e8
commit
0c7c24d3d1
2 changed files with 9 additions and 12 deletions
|
@ -30,10 +30,6 @@ const postStatus = ({
|
|||
idempotencyKey
|
||||
})
|
||||
.then((data) => {
|
||||
return {
|
||||
error: 'test'
|
||||
}
|
||||
/*
|
||||
if (!data.error && !preview) {
|
||||
store.dispatch('addNewStatuses', {
|
||||
statuses: [data],
|
||||
|
@ -43,7 +39,6 @@ const postStatus = ({
|
|||
})
|
||||
}
|
||||
return data
|
||||
*/
|
||||
})
|
||||
.catch((err) => {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue