renames api_db property for clarity

This commit is contained in:
msramalho
2025-02-11 12:56:33 +00:00
parent 5c59029221
commit 977f06c37a
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class AAApiDb(Database):
""" query the database for the existence of this item.
Helps avoid re-archiving the same URL multiple times.
"""
if not self.allow_rearchive: return
if not self.use_api_cache: return
params = {"url": item.get_url(), "limit": 15}
headers = {"Authorization": f"Bearer {self.api_token}", "accept": "application/json"}