remove console log
This commit is contained in:
parent
c83f3eddab
commit
1638d66d41
1 changed files with 0 additions and 1 deletions
|
@ -1194,7 +1194,6 @@ const chats = ({ credentials }) => {
|
||||||
return fetch(PLEROMA_CHATS_URL, { headers: authHeaders(credentials) })
|
return fetch(PLEROMA_CHATS_URL, { headers: authHeaders(credentials) })
|
||||||
.then((data) => data.json())
|
.then((data) => data.json())
|
||||||
.then((data) => {
|
.then((data) => {
|
||||||
if (typeof data.map !== 'function') console.log(data)
|
|
||||||
return { chats: data.map(parseChat).filter(c => c) }
|
return { chats: data.map(parseChat).filter(c => c) }
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue