mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-18 06:44:46 -07:00
Provide app or video via payload
This commit is contained in:
parent
fdfe7f3d08
commit
f91848656c
1 changed files with 8 additions and 2 deletions
|
|
@ -153,10 +153,16 @@ export default {
|
||||||
const isVideo = (app.category === undefined)
|
const isVideo = (app.category === undefined)
|
||||||
|
|
||||||
if (isVideo) {
|
if (isVideo) {
|
||||||
return getVideoEndpoint(app)
|
return {
|
||||||
|
route: getVideoEndpoint(app),
|
||||||
|
payload: { video: app }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return getAppEndpoint(app)
|
return {
|
||||||
|
route: getAppEndpoint(app),
|
||||||
|
payload: { app }
|
||||||
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue