From 04aea47d808babe0131bf08390201eb9b0861fe3 Mon Sep 17 00:00:00 2001 From: Jeremy Baxter Date: Mon, 27 Mar 2023 12:03:32 +1300 Subject: [PATCH] Rename BIBLE_BOOKS array to ESVAPI_BIBLE_BOOKS --- esv.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/esv.d b/esv.d index 53303eb..13bdca1 100644 --- a/esv.d +++ b/esv.d @@ -45,7 +45,7 @@ import std.utf : toUTF8; import std.net.curl; const enum ESVAPI_URL = "https://api.esv.org/v3/passage"; -const string[] BIBLE_BOOKS = [ +const string[] ESVAPI_BIBLE_BOOKS = [ // Old Testament "Genesis", "Exodus", @@ -193,7 +193,7 @@ class EsvAPI */ final bool validateBook(const string book) const nothrow { - foreach (string b; BIBLE_BOOKS) + foreach (string b; ESVAPI_BIBLE_BOOKS) { if (book.capitalize() == b.capitalize()) return true;