Merge pull request #42 from albertsun/master

Was getting a 500 on user location agent

Andrew Cantino 12 jaren geleden
bovenliggende
commit
fd4ab87abe
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      app/models/agents/user_location_agent.rb

+ 1 - 1
app/models/agents/user_location_agent.rb

@@ -9,7 +9,7 @@ module Agents
9 9
       <<-MD
10 10
         The UserLocationAgent creates events based on WebHook POSTS that contain a `latitude` and `longitude`.  You can use the POSTLocation iOS app to post your location.
11 11
 
12
-        Your POST path will be `https://#{DOMAIN}/users/#{user.id}/update_location/:secret` where `:secret` is specified in your options.
12
+        Your POST path will be `https://#{ENV['DOMAIN']}/users/#{user.id}/update_location/:secret` where `:secret` is specified in your options.
13 13
       MD
14 14
     end
15 15