Spaces:
Sleeping
Sleeping
Update src/pages/api/sql.ts
Browse files- src/pages/api/sql.ts +1 -1
src/pages/api/sql.ts
CHANGED
@@ -23,7 +23,7 @@ export default async function handler(
|
|
23 |
}
|
24 |
|
25 |
try {
|
26 |
-
const apiKey = process.env.
|
27 |
if (!apiKey) {
|
28 |
return res.status(500).json({
|
29 |
message: "Server configuration error",
|
|
|
23 |
}
|
24 |
|
25 |
try {
|
26 |
+
const apiKey = process.env.API_TOKEN;
|
27 |
if (!apiKey) {
|
28 |
return res.status(500).json({
|
29 |
message: "Server configuration error",
|