mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
implement getCategories
method
This commit is contained in:
parent
04180d1224
commit
9f57a559e8
@ -27,6 +27,12 @@ export default class Livestream {
|
|||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static async getCategories() {
|
||||||
|
const request = await Livestream.bridge.get.streamingCategories()
|
||||||
|
|
||||||
|
return request
|
||||||
|
}
|
||||||
|
|
||||||
static async getStreamInfo(payload) {
|
static async getStreamInfo(payload) {
|
||||||
let { username } = payload ?? {}
|
let { username } = payload ?? {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user