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
|
||||
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',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user