Skip to content

Commit 148e037

Browse files
Merge pull request #615 from chawdamrunal/fix/undefined-variable-error-handler
fix: Undefined Variable Reference in Error Handler
2 parents 6ce2f90 + d48fb7c commit 148e037

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/api/sign-cloudinary-params.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default async function handler(req, res) {
1313
});
1414
} catch (error) {
1515
res.status(500).json({
16-
error: e.message,
16+
error: error.message,
1717
});
1818
}
1919
}

0 commit comments

Comments
 (0)