Skip to content

Commit

Permalink
Update/correct URL
Browse files Browse the repository at this point in the history
  • Loading branch information
iandees committed Apr 2, 2017
1 parent 5aa1d00 commit 1d08242
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions checkinchecker/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

@application.route('/')
def index():
callback_url = 'https://checkin-checker.herokuapp.com/auth/callback/foursquare'
callback_url = 'https://checkin-checker.dev.openstreetmap.us/auth/callback/foursquare'
return render_template('index.html', callback_url=callback_url)


Expand All @@ -44,7 +44,7 @@ def foursquare_auth_callback():
client_id=FOURSQUARE_CLIENT_ID,
client_secret=FOURSQUARE_CLIENT_SECRET,
grant_type='authorization_code',
redirect_uri='https://checkin-checker.herokuapp.com/auth/callback/foursquare',
redirect_uri='https://checkin-checker.dev.openstreetmap.us/auth/callback/foursquare',
code=code,
)
)
Expand All @@ -64,7 +64,7 @@ def foursquare_auth_callback():
email = user_data.get('contact', {}).get('email')
if email:
message = u"Hi {name},\n\n" \
"You just connected your Foursquare account to Checkin Checker at https://checkin-checker.herokuapp.com. " \
"You just connected your Foursquare account to Checkin Checker at https://checkin-checker.dev.openstreetmap.us. " \
"If you ever want to disconnet, go to https://foursquare.com/settings/connections and remove the Checkin Checker app.\n\n" \
"Checkin Checker".format(
name=user_data.get('firstName'),
Expand Down

0 comments on commit 1d08242

Please sign in to comment.