fix
This commit is contained in:
+2
-1
@@ -5,7 +5,7 @@ export const _ = {
|
||||
url: "/_dbs/:dbName/:action",
|
||||
async api(dbName: any, action?: string) {
|
||||
const { req, res } = apiContext(this);
|
||||
|
||||
if (typeof db !== "undefined") {
|
||||
const body = req.params;
|
||||
|
||||
try {
|
||||
@@ -16,5 +16,6 @@ export const _ = {
|
||||
res.send(e.message);
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user