randydev commited on
Commit
cfc7a40
·
verified ·
1 Parent(s): 75ae529

Update plugins/carbon.js

Browse files
Files changed (1) hide show
  1. plugins/carbon.js +1 -1
plugins/carbon.js CHANGED
@@ -57,7 +57,7 @@ async function MakerCarbon(args) {
57
  */
58
  CarbonRoutes.post("/api/v1/maker/carbon", async (req, res) => {
59
  try {
60
- const code = req.body.code;
61
  if (!code) {
62
  return res.status(400).send("Query parameter is missing");
63
  }
 
57
  */
58
  CarbonRoutes.post("/api/v1/maker/carbon", async (req, res) => {
59
  try {
60
+ const code = req.query.code;
61
  if (!code) {
62
  return res.status(400).send("Query parameter is missing");
63
  }