added updateLivestreamInfo

This commit is contained in:
SrGooglo 2022-11-28 15:05:44 +00:00
parent 7fdadd7b8d
commit 9634d41ab5

View File

@ -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 ?? {}