Fix Following preview
This commit is contained in:
parent
a967ff2a15
commit
7739bc99f0
@ -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…
x
Reference in New Issue
Block a user