Browse Source

say: Fixed `_godville()` function to generate URLs correctly

master
Sergey Kiselev 2 months ago
parent
commit
91ded565c6
  1. 2
      say

2
say

@ -49,7 +49,7 @@ _time() {
_godville() {
base="https://godville.net/gods/api"
god=""
god="$( jq -rn --arg x 'god name' '$x|@uri' )"
api_key=""
url="${base}/${god}/${api_key}"
quote="$( ${CURL} "${url}" | jq ".diary_last" )"

Loading…
Cancel
Save