mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Fix Following preview
This commit is contained in:
parent
a967ff2a15
commit
7739bc99f0
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ export default {
|
|||
const streamDataFetch = await fetch(
|
||||
`${protocol}${import.meta.env.VITE_BACKEND_DOMAIN}/api/users/${props.name}`
|
||||
)
|
||||
const data = await streamDataFetch.json()
|
||||
const data = (await streamDataFetch.json()).data
|
||||
|
||||
if (data.stream) {
|
||||
data.stream.streamer = { name: props.name, pfp: data.pfp }
|
||||
|
|
Loading…
Reference in a new issue