tests-e2e: update API endpoint for updating room preferences

This commit is contained in:
juancarmore 2025-09-03 17:02:12 +02:00
parent 2be282e9a0
commit 817acc8486

View File

@ -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',