Skip to content

Commit

Permalink
Merge pull request getredash#397 from EverythingMe/feature/edit_other…
Browse files Browse the repository at this point in the history
…s_queries

Fix: forking broken
  • Loading branch information
arikfr committed Mar 22, 2015
2 parents 09bf2dd + f2d96d6 commit 0bc7755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redash/controllers.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ class QueryListAPI(BaseResource):
@require_permission('create_query')
def post(self):
query_def = request.get_json(force=True)
for field in ['id', 'created_at', 'api_key', 'visualizations', 'latest_query_data']:
for field in ['id', 'created_at', 'api_key', 'visualizations', 'latest_query_data', 'last_modified_by']:
query_def.pop(field, None)

query_def['user'] = self.current_user
Expand Down

0 comments on commit 0bc7755

Please sign in to comment.