Skip to content

Commit 846a926

Browse files
committed
fix url to post register to an Event
1 parent dbba7ce commit 846a926

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: Zenergy/Zenergy/Scripts/Controllers/eventRegistrationPageController.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
$scope.joinEvent = function (eventid) {
6868
// reister to an event
6969
var responseEvent = $http({
70-
url: 'api/users/' + tokenService.getUserId() + '/events/' + eventid + '/registration',
70+
url: '/api/users/' + tokenService.getUserId() + '/events/' + eventid + '/registration',
7171
method: 'POST',
7272
headers: {
7373
'Content-Type': 'application/json'

0 commit comments

Comments
 (0)