Update plugins/carbon.js
Browse files- 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.
|
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 |
}
|