We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb9014a commit cd602afCopy full SHA for cd602af
websocket_server/ApiService.js
@@ -59,7 +59,7 @@ export default class ApiService {
59
console.log(`[${roomID}] Saving room data to server: ${roomData.length} elements, ${Object.keys(files).length} files`)
60
61
const url = `${this.NEXTCLOUD_URL}/index.php/apps/whiteboard/${roomID}`
62
- const body = { data: { elements: roomData, files: this.cleanupFiles(roomData, files) } }
+ const body = { data: { type: "excalidraw", elements: roomData, files: this.cleanupFiles(roomData, files) } }
63
const options = this.fetchOptions('PUT', null, body, roomID, lastEditedUser)
64
return this.fetchData(url, options)
65
}
0 commit comments