chore: update return type of generateCertificate function to implicit

This commit is contained in:
Rotimi Best
2025-06-26 14:13:45 +01:00
parent 8f26399741
commit c1f3761996
+1 -1
View File
@@ -17,7 +17,7 @@ export interface CertificateGenerationResult {
error?: string;
}
export const generateCertificate = async (data: TCertificateDownload):Promise<Buffer> => {
export const generateCertificate = async (data: TCertificateDownload) => {
const { html, styles } = generateCertificateHtml(data);
return getCloudflarePdfBuffer(html, styles);
};