remove brackets
This commit is contained in:
parent
fbb02ebb79
commit
5f02fb061b
1 changed files with 2 additions and 2 deletions
|
@ -483,7 +483,7 @@ const fetchConversation = ({ id, credentials }) => {
|
|||
if (data.ok) {
|
||||
return data
|
||||
}
|
||||
throw new Error(['Error fetching timeline', errorStatusMapper(data)])
|
||||
throw new Error('Error fetching timeline', errorStatusMapper(data))
|
||||
})
|
||||
.then((data) => data.json())
|
||||
.then(({ ancestors, descendants }) => ({
|
||||
|
@ -499,7 +499,7 @@ const fetchStatus = ({ id, credentials }) => {
|
|||
if (data.ok) {
|
||||
return data
|
||||
}
|
||||
throw new Error(['Error fetching timeline', errorStatusMapper(data)])
|
||||
throw new Error('Error fetching timeline', errorStatusMapper(data))
|
||||
})
|
||||
.then((data) => data.json())
|
||||
.then((data) => parseStatus(data))
|
||||
|
|
Loading…
Reference in a new issue