Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MBergCap committed Dec 20, 2023
1 parent dfd4197 commit 1b403a7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions controllers/ctltools.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ const sanitizeToolInputs = (id, body) => {
const getUpdateHandler = (req, res, next) => {
req.body = sanitizeToolInputs(req.params.id, req.body);

console.log(req.body);

api(req, { version: 'v3' }).post(`/tools/external-tools/${req.params.id}`, {
json: req.body
}).then(() => {
Expand Down Expand Up @@ -118,8 +116,6 @@ const getDeleteHandler = (req, res, next) => {
const getCreateHandler = (req, res, next) => {
req.body = sanitizeToolInputs(undefined, req.body);

console.log(req.body);

api(req, { version: 'v3' }).post('/tools/external-tools/', {
json: req.body
}).then(() => {
Expand Down

0 comments on commit 1b403a7

Please sign in to comment.