We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad7404d commit 7c474b3Copy full SHA for 7c474b3
core/map_projects/models.py
@@ -162,7 +162,8 @@ def _delete_uploaded_file(file_path):
162
@classmethod
163
def format_request_data(cls, data, parent_resource=None):
164
new_data = {
165
- key: val[0] if isinstance(val, list) and len(val) == 1 else val for key, val in data.items()
+ key: val[0] if isinstance(val, list) and len(val) == 1 and key not in [
166
+ 'candidates'] else val for key, val in data.items()
167
}
168
cls.format_json(new_data, 'matches')
169
cls.format_json(new_data, 'columns')
0 commit comments