mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
added updateLivestreamInfo
This commit is contained in:
parent
309de54ec5
commit
5459c306e2
@ -15,6 +15,18 @@ export default class Livestream {
|
||||
return request
|
||||
}
|
||||
|
||||
static async updateLivestreamInfo(payload) {
|
||||
const { data } = await app.api.customRequest("main", {
|
||||
method: "POST",
|
||||
url: `/streaming/update_info`,
|
||||
data: {
|
||||
...payload
|
||||
},
|
||||
})
|
||||
|
||||
return data
|
||||
}
|
||||
|
||||
static async getStreamInfo(payload) {
|
||||
let { username } = payload ?? {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user