medusa-project / book-tracker

Medusa Book Tracker
0 stars 0 forks source link

Refactoring opportunity #50

Closed adolski closed 9 months ago

adolski commented 9 months ago

This is something I noticed the last time I had the Book Tracker opened up. It turns out there are four methods that are almost identical:

Google.check_async()
Hathitrust.check_async()
InternetArchive.check_async()
RecordSource.import_async()

In general, it's not good to duplicate code like this. Can you think about how to improve this @gaurijo?