Skip to content

Commit

Permalink
🔥remove old log in configmanager
Browse files Browse the repository at this point in the history
  • Loading branch information
TarradeMarc committed Jan 8, 2025
1 parent c54ecbb commit bf22a95
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions configmanager/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,9 @@ app.get('/:namespace/:application', (req, res) => {
app.post('/:namespace/:application', (req, res) => {
if (req.headers['content-type'] != 'application/json') return res.status(400).send("Invalid JSON");
const { namespace, application } = req.params;
console.log(req.body)
const body = JSON.stringify(req.body)
console.log(body)
try {
const parsedBody = JSON.parse(body);
console.log(parsedBody)
const newDecoys = parsedBody.decoys;
const newConfig = parsedBody.config;
var filePath = '', configFilePath = ''
Expand Down

0 comments on commit bf22a95

Please sign in to comment.