added in more debug to investigate
This commit is contained in:
@@ -24,13 +24,18 @@ ApiProxy.get(async (req, res) => {
|
||||
if (hashAPIPath(checkquerypath) == "&hash=" + checkHash) {
|
||||
await createContainer(containerName)
|
||||
.then((data) => {
|
||||
return res.status(200).json({ data: "success" });
|
||||
return res.status(200).json({ data: "success", output: data });
|
||||
})
|
||||
.catch((error) => {
|
||||
consoleLogger(error);
|
||||
res.status(400).json(error);
|
||||
});
|
||||
} else {
|
||||
consoleLogger({
|
||||
name: "setupcontainer",
|
||||
code: "bad hash",
|
||||
query: JSON.stringify(req.query),
|
||||
});
|
||||
return res.status(400).json();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user