8000 Removed wrong try catch line/ · tools-utils/odoo-api@13ed3f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 13ed3f7

Browse files
committed
Removed wrong try catch line/
1 parent edbe605 commit 13ed3f7

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/api/lib/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ const getOptions = req => {
5757

5858
const auth = /*#__PURE__*/function () {
5959
var _ref = _asyncToGenerator(function* (req, res) {
60-
try {} catch (e) {}
61-
6260
const body = yield _micro.default.json(req);
6361
const {
6462
db,

packages/api/src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ const getOptions = (req) => {
2525
}
2626

2727
const auth = async (req, res) => {
28-
try {} catch(e) {}
2928
const body = await micro.json(req)
3029
const { db, login, password } = body
3130
const resp = await odoo.auth({ db, login, password })

0 commit comments

Comments
 (0)
0