createBackendFunction()
import { createBackendFunction } from "@magicjs.dev/backend";
export default createBackendFunction(async function () {
try {
// Your logic here
} catch (error) {
// Handle errors here
}
});Last updated