Skip to content

Commit

Permalink
Revert "fix(api): 2383 - bug contract baleen (#4541)"
Browse files Browse the repository at this point in the history
This reverts commit 6231cb0.
  • Loading branch information
michaelgarcia75 authored Nov 29, 2024
1 parent 1e077cd commit a2d7797
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions api/src/controllers/contract.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,6 @@ router.post("/", passport.authenticate(["referent"], { session: false, failWithE
}
}

for (let key in data) {
if (typeof data[key] === "string") {
data[key] = data[key].replace(/>/g, "");
}
}

// Create or update contract.
const contract = id ? await updateContract(id, data, req.user) : await createContract(data, req.user);
// Update the application.
Expand Down

0 comments on commit a2d7797

Please sign in to comment.