Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import {mediaManager} from 'wix-media-backend';
import {bufferEncode} from './sendgrid';
export function getFileUrl(fileId) {
return mediaManager.getFileUrl(fileId);
}
export function sendMail(url, email, subject, body, filename, filetype) {
return bufferEncode(url, email, subject, body, filename, filetype);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment