tests-e2e: update API endpoint for updating room preferences
This commit is contained in:
parent
2be282e9a0
commit
817acc8486
@ -128,7 +128,7 @@ export const createTestRoom = async (
|
|||||||
|
|
||||||
// Helper function to update room preferences via REST API
|
// Helper function to update room preferences via REST API
|
||||||
export const updateRoomPreferences = async (roomId: string, preferences: any, adminCookie: string) => {
|
export const updateRoomPreferences = async (roomId: string, preferences: any, adminCookie: string) => {
|
||||||
const response = await fetch(`${MEET_API_URL}/api/v1/rooms/${roomId}`, {
|
const response = await fetch(`${MEET_API_URL}/api/v1/rooms/${roomId}/preferences`, {
|
||||||
method: 'PUT',
|
method: 'PUT',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user