return response if only has data

This commit is contained in:
srgooglo 2022-05-13 20:13:06 +02:00
parent b579890c0c
commit 0293a5cd6f

View File

@ -57,7 +57,9 @@ export default class StreamingController extends Controller {
return false
})
if (data) {
return res.json(data)
}
},
"/streams": async (req, res) => {
// TODO: meanwhile linebridge remote linkers are in development we gonna use this methods to fetch