Permalink
Browse files

change time API URL

  • Loading branch information...
1 parent 844361f commit f0f345de1f52e5e0a5654447f60d787b62697583 @mfin mfin committed with dz0ny Apr 28, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 scripts/servisi.coffee
View
@@ -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
@@ -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.