Skip to content

Commit

Permalink
Fixed code to read status from ABC
Browse files Browse the repository at this point in the history
  • Loading branch information
valearna committed Mar 27, 2024
1 parent f0393cf commit ddfde45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/api/endpoints/curator_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ def on_post(self, req, resp, req_type):
raise falcon.HTTPError(falcon.HTTP_BAD_REQUEST)
paper_id = req.media["paper_id"]
if req_type == "status":
paper = WBPaper(paper_id)
paper = WBPaper(paper_id=paper_id, db_manager=self.db.paper)
paper.load_bib_info()
afp_processed = self.db.afp.paper_is_afp_processed(paper_id)
afp_processed_date = self.db.afp.get_processed_date(paper_id)
Expand Down

0 comments on commit ddfde45

Please sign in to comment.