fix(bible): fixed error in _get_passage
All checks were successful
Actions / Lint Code (Pylint) (push) Successful in 16s
Actions / Build Documentation (MkDocs) (push) Successful in 12s

This commit is contained in:
Seaswimmer 2024-02-01 19:11:11 -05:00
parent 9e2697b08b
commit feac213017
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -50,12 +50,12 @@ class Bible(commands.Cog):
headers = await self.bot.get_shared_api_tokens("api.bible") headers = await self.bot.get_shared_api_tokens("api.bible")
params = { params = {
"content-type": "text", "content-type": "text",
"include-notes": False, "include-notes": "false",
"include-titles": False, "include-titles": "false",
"include-chapter-numbers": False, "include-chapter-numbers": "false",
"include-verse-numbers": include_verse_numbers, "include-verse-numbers": str(include_verse_numbers).lower(),
"include-verse-spans": False, "include-verse-spans": "false",
"use-org-id": False, "use-org-id": "false",
} }
async with self.session.get(url, headers=headers, params=params) as response: async with self.session.get(url, headers=headers, params=params) as response: