Update plugins/fontsstyle.js
Browse files- plugins/fontsstyle.js +1 -1
plugins/fontsstyle.js
CHANGED
@@ -30,7 +30,7 @@ const FontsRoutes = express.Router();
|
|
30 |
FontsRoutes.get('/api/v1/fonts-stylish/detected', authenticateApiKey, apiLimiter, async (req, res) => {
|
31 |
try {
|
32 |
const query = req.query.query
|
33 |
-
if (!query)
|
34 |
return res.status(401).json({ error: "Invalid Query." });
|
35 |
}
|
36 |
const results = await FontStyleCheckAPI(text);
|
|
|
30 |
FontsRoutes.get('/api/v1/fonts-stylish/detected', authenticateApiKey, apiLimiter, async (req, res) => {
|
31 |
try {
|
32 |
const query = req.query.query
|
33 |
+
if (!query) {
|
34 |
return res.status(401).json({ error: "Invalid Query." });
|
35 |
}
|
36 |
const results = await FontStyleCheckAPI(text);
|