diff --git a/src/utils/exportUtils.js b/src/utils/exportUtils.js index fd92f96..dd7977f 100644 --- a/src/utils/exportUtils.js +++ b/src/utils/exportUtils.js @@ -145,5 +145,8 @@ export async function createFile(objectsById, type, options) { const base64 = bufferToBase64(buffer); return base64; } + default: + throw new Error(`did not regonize type ${type}`); + } } }