Skip to content

Commit

Permalink
change time API URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mfin authored and dz0ny committed Apr 28, 2017
1 parent 844361f commit f0f345d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/servisi.coffee
Expand Up @@ -154,7 +154,7 @@ module.exports = (bot) ->
".time <mesto> - izpiše trenutni čas v $mesto",
(match, r) ->
f = match[1].trim().replace(" ","-")
bot.fetchJSON "https://api.mkfs.si/time/#{f}", (data) ->
bot.fetchJSON "https://simple-time-api.herokuapp.com/#{f}", (data) ->
if data && ! null
r.reply "Trenutni čas v #{data.place} je #{data.short_time}"
else
Expand Down Expand Up @@ -201,4 +201,4 @@ module.exports = (bot) ->
else
r.reply "Ne najdem"
else
r.reply "Ne najdem"
r.reply "Ne najdem"

0 comments on commit f0f345d

Please sign in to comment.