Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 4131a51

Browse files
author
Parth Shah
committed
Merge branch 'dev' into release/v1.0.8
2 parents 56a9231 + fb3b9ba commit 4131a51

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/services/externalAccounts.service.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,7 @@
104104
postData.context.accessTokenSecret = socialData.accessTokenSecret;
105105
}
106106
$log.debug("link API postdata: " + JSON.stringify(postData));
107-
var api = ApiService.restangularV3;
108-
api.one('users', user.userId).customPOST(postData, "profiles", {}, {})
107+
userApi.one('users', user.userId).customPOST(postData, "profiles", {}, {})
109108
.then(function(resp) {
110109
$log.debug("Succesfully linked account: " + JSON.stringify(resp));
111110
resolve({

0 commit comments

Comments
 (0)