Skip to content

Commit

Permalink
added total copies
Browse files Browse the repository at this point in the history
  • Loading branch information
deepikagonuguntla committed Dec 30, 2024
1 parent cbc11ef commit d375e34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/teacher_set.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def update_teacher_set_availability_in_elastic_search
body = {
:availability => self.availability,
:available_copies => self.available_copies,
:total_copies => self.total_copies,
}
ElasticSearch.new.update_document_by_id(self.id, body)
end
Expand Down

0 comments on commit d375e34

Please sign in to comment.