Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
[#846] Update returned question columns
Browse files Browse the repository at this point in the history
Added:
- openquestion
- config
- questionshort

Removed:
- order (defined by the parent QuestionSet)
  • Loading branch information
brew committed Dec 1, 2016
1 parent b505da2 commit 183883e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions census/controllers/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,14 @@ let questions = function(req, res) {
'id',
'site',
'question',
'questionshort',
'description',
'type',
'placeholder',
'score',
'order',
'icon',
'dependants'
'config',
'openquestion',
'icon'
];
const results = data.questions;
let mapper = function(item) {
Expand Down

0 comments on commit 183883e

Please sign in to comment.