mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-24 17:30:03 +00:00
fix: do not fail on wrong content type in collaborator (#7296)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
6b3ec81f63
commit
7372798546
@ -45,8 +45,7 @@ export async function loadCollabYdoc (
|
||||
}
|
||||
|
||||
if (!blob.contentType.includes('application/ydoc')) {
|
||||
ctx.error('invalid content type', { contentType: blob.contentType })
|
||||
return undefined
|
||||
ctx.warn('invalid content type', { contentType: blob.contentType })
|
||||
}
|
||||
|
||||
// no need to apply gc because we load existing document
|
||||
|
Loading…
Reference in New Issue
Block a user