esvapi: refactor

18 insertions, 68 deletions! (🚀)

Fixes: https://todo.sr.ht/~jeremy/esv/6
This commit is contained in:
Jeremy Baxter 2024-06-29 20:41:14 +12:00
parent a2be024c45
commit f353279458
3 changed files with 18 additions and 68 deletions

2
esv.d
View file

@ -131,7 +131,7 @@ key = %s
enforceDie(apiKey != null,
"API key not present in configuration file; cannot proceed");
esv = new ESVApi(apiKey);
esv = ESVApi(apiKey);
if (aFlag) {
string tmpf, player;