Skip to content

Commit

Permalink
fix-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
northdpole committed Oct 28, 2023
1 parent f7c329b commit 8031080
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion application/frontend/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface GapAnalysisPathStart {
paths: Record<string, GapAnalysisPath>;
extra: number;
weakLinks: Record<string, GapAnalysisPath>;

}
export interface PaginatedResponse {
standards: Document[];
total_pages: number;
Expand Down
2 changes: 1 addition & 1 deletion application/tests/web_main_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -706,4 +706,4 @@ def test_gap_analysis_weak_links_response(self, db_mock) -> None:
headers={"Content-Type": "application/json"},
)
self.assertEqual(200, response.status_code)
self.assertEqual(expected, json.loads(response.data))
self.assertEqual(expected, json.loads(response.data))
1 change: 1 addition & 0 deletions application/web/web_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ def find_document_by_tag() -> Any:
logger.info("tags aborting 404")
abort(404, "Tag does not exist")


@app.route("/rest/v1/map_analysis", methods=["GET"])
@cache.cached(timeout=50, query_string=True)
def gap_analysis() -> Any:
Expand Down

0 comments on commit 8031080

Please sign in to comment.