remove brackets
ci/woodpecker/push/woodpecker Pipeline failed Details
ci/woodpecker/pr/woodpecker Pipeline was successful Details

This commit is contained in:
FloatingGhost 2022-06-26 19:58:41 +01:00
parent fbb02ebb79
commit 5f02fb061b
1 changed files with 2 additions and 2 deletions

View File

@ -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))