feat: Enable querying via endpoint for client XML and separate IVR by queue based on connected numbers

feat_faro
adriano 2024-05-29 14:14:48 -03:00
parent f7e71af633
commit 02ded6e4ee
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
import fs from "fs";
export const encodeFileToBase64 = (filePath: string) => {
const file = fs.readFileSync(filePath);
return file.toString("base64");
};