mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +00:00
return response if only has data
This commit is contained in:
parent
b579890c0c
commit
0293a5cd6f
@ -57,7 +57,9 @@ export default class StreamingController extends Controller {
|
||||
return false
|
||||
})
|
||||
|
||||
return res.json(data)
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user