Skip to content

Commit

Permalink
add update publish status to make change the publish state of the models
Browse files Browse the repository at this point in the history
  • Loading branch information
shincap8 committed Jan 23, 2025
1 parent 6afb9b1 commit a9fea53
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/app/domain/services/base/score.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,7 @@ def add_scores_and_update_model(
self.score_repository.add(new_score)

self.model_repository.update_model_status(model_id)
self.model_repository.update_published_status(model_id)
self.email_helper.send(
contact=user.email,
cc_contact=self.email_sender,
Expand Down

0 comments on commit a9fea53

Please sign in to comment.