Provide app or video via payload

This commit is contained in:
Sam Carlton 2021-01-02 14:05:13 -06:00
parent fdfe7f3d08
commit f91848656c

View file

@ -153,10 +153,16 @@ export default {
const isVideo = (app.category === undefined)
if (isVideo) {
return getVideoEndpoint(app)
return {
route: getVideoEndpoint(app),
payload: { video: app }
}
}
return getAppEndpoint(app)
return {
route: getAppEndpoint(app),
payload: { app }
}
})
})