v1.6.0/admin only mode
This commit is contained in:
+8
-1
@@ -18,7 +18,7 @@ HBO Now and HBO Max logos are trademark and intellectual property of WarnerMedia
|
||||
************************************************************************/
|
||||
/*global chrome*/
|
||||
|
||||
const API_HOST = 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets2';
|
||||
const API_HOST = 'https://us-central1-watch-party-crx.cloudfunctions.net/widgets';
|
||||
|
||||
export const PLAYER_STATUS = {
|
||||
PLAYING: 'PLAYING',
|
||||
@@ -170,3 +170,10 @@ export const UpdateVoxeetApi = async (data) => {
|
||||
body: JSON.stringify(data),
|
||||
});
|
||||
};
|
||||
|
||||
export const UpdateAdminOnly = async (data) => {
|
||||
return fetcher({
|
||||
endpoint: `updateAdminOnly/${data.partyName}/${data.adminOnly}`,
|
||||
method: 'PUT',
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user