Skip to content

Commit

Permalink
change the return URL after the end survey
Browse files Browse the repository at this point in the history
  • Loading branch information
asiripanich committed May 9, 2020
1 parent 9cc9ab1 commit 155d4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/js/control/general-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ angular.module('emission.main.control',['emission.services',
$scope.launchEndSurvey = function() {
CommHelper.getUser().then(function(profile) {
const uuid = profile && profile.user_id && profile.user_id['$uuid'] ? profile.user_id['$uuid'] : 'undefined';
const returnURL = 'https://reward.amarin.dev';
const returnURL = 'https://www.taharashidi.com/endreward';
$cordovaInAppBrowser.open(`https://pe.byamarin.com/${uuid}&returnURL=${returnURL}`, '_blank');
$scope.endForceSync();
});
Expand Down

0 comments on commit 155d4ea

Please sign in to comment.