Skip to content

Commit

Permalink
swagger read working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
RDegnen committed Jun 29, 2015
1 parent 14eb3f0 commit 2bc25d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions server/api/docs/swagger.json
Expand Up @@ -75,7 +75,7 @@
"parameters": [
{
"in": "query",
"name": "id",
"name": "companyId",
"description": "Company object that is being shown",
"type": "string"
}
Expand Down Expand Up @@ -190,7 +190,7 @@
"parameters": [
{
"in": "query",
"name": "id",
"name": "userId",
"description": "User object that is being shown",
"type": "string"
}
Expand Down Expand Up @@ -305,7 +305,7 @@
"parameters": [
{
"in": "query",
"name": "id",
"name": "invoiceId",
"description": "Invoice object that is being shown",
"type": "string"
}
Expand Down Expand Up @@ -420,7 +420,7 @@
"parameters": [
{
"in": "query",
"name": "id",
"name": "invoiceItemId",
"description": "InvoiceItem object that is being shown",
"type": "string"
}
Expand Down
1 change: 0 additions & 1 deletion server/routes/company.js
Expand Up @@ -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;
Expand Down

0 comments on commit 2bc25d3

Please sign in to comment.