diff --git a/src/utils/helpers/fileHelpers.js b/src/utils/helpers/fileHelpers.js index 7a8938b..503d013 100644 --- a/src/utils/helpers/fileHelpers.js +++ b/src/utils/helpers/fileHelpers.js @@ -106,6 +106,12 @@ export async function createFile( return `${fileId}.${extention}`; } +/** + * Gets the files info and the files buffer + * + * @param {string} fileId The id of the file + * @returns The file info and file buffer + */ export async function getFileRaw(fileId) { const fileInfo = await getFileInfo(fileId, true); if (fileInfo == null) {