Fix missed network parameter.
This commit is contained in:
parent
21875a53b5
commit
099a20c3a3
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ angular.module('copayApp.services').factory('bitpayService', function($log, $htt
|
|||
};
|
||||
|
||||
root.post = function(endpoint, json, successCallback, errorCallback) {
|
||||
appIdentityService.getIdentity(NETWORK, function(err, appIdentity) {
|
||||
appIdentityService.getIdentity(root.getEnvironment().network, function(err, appIdentity) {
|
||||
if (err) return errorCallback(err);
|
||||
$http(_post(endpoint, json, appIdentity)).then(function(data) {
|
||||
successCallback(data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue