diff --git a/server/api/docs/swagger.json b/server/api/docs/swagger.json index ae75691..2a029c9 100644 --- a/server/api/docs/swagger.json +++ b/server/api/docs/swagger.json @@ -75,7 +75,7 @@ "parameters": [ { "in": "query", - "name": "id", + "name": "companyId", "description": "Company object that is being shown", "type": "string" } @@ -190,7 +190,7 @@ "parameters": [ { "in": "query", - "name": "id", + "name": "userId", "description": "User object that is being shown", "type": "string" } @@ -305,7 +305,7 @@ "parameters": [ { "in": "query", - "name": "id", + "name": "invoiceId", "description": "Invoice object that is being shown", "type": "string" } @@ -420,7 +420,7 @@ "parameters": [ { "in": "query", - "name": "id", + "name": "invoiceItemId", "description": "InvoiceItem object that is being shown", "type": "string" } diff --git a/server/routes/company.js b/server/routes/company.js index 747f394..a63362a 100644 --- a/server/routes/company.js +++ b/server/routes/company.js @@ -18,7 +18,6 @@ var company = function(app) { app.get('/company/read', function(req, res) { var companyId = req.query.companyId || req.body.companyId; - companyAPI.readCompany(companyId, function(err, company) { if (err) { throw err;