Skip to content

Commit

Permalink
Merge a1e78f0 into cde750f
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarlowATI committed Apr 14, 2022
2 parents cde750f + a1e78f0 commit 81fa48c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Expand Up @@ -6,7 +6,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
language: python
Expand Down
2 changes: 1 addition & 1 deletion eap_backend/eap_api/views.py
Expand Up @@ -139,7 +139,7 @@ def get_json_tree(id_list, obj_type):
obj_serializer = TYPE_DICT[obj_type]["serializer"](obj)
obj_data = obj_serializer.data
for child_type in TYPE_DICT[obj_type]["children"]:
child_list = obj_data[child_type]
child_list = sorted(obj_data[child_type])
obj_data[child_type] = get_json_tree(child_list, child_type)
objs.append(obj_data)
return objs
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/CaseContainer.js
Expand Up @@ -98,7 +98,7 @@ class CaseContainer extends Component {
const id = this.props.params.caseSlug;
this.setState({ id: id });
this.fetchData(id);
this.timer = setInterval(() => this.fetchData(id), 2000);
this.timer = setInterval(() => this.fetchData(id), 5000);
}

componentWillUnmount() {
Expand Down

0 comments on commit 81fa48c

Please sign in to comment.