mirror of
https://codeberg.org/dragongoose/safetwitch.git
synced 2024-09-06 08:42:31 +00: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