Fix coinbase oauth for desktop. Fix NWjs window
This commit is contained in:
parent
49c01ca015
commit
163f1bf913
2 changed files with 11 additions and 13 deletions
|
|
@ -61,7 +61,7 @@ angular.module('copayApp.services').factory('coinbaseService', function($http, $
|
|||
+ 'wallet:payment-methods:read';
|
||||
|
||||
// NW has a bug with Window Object
|
||||
if (isCordova || isNW) {
|
||||
if (isCordova) {
|
||||
credentials.REDIRECT_URI = coinbase.redirect_uri.mobile;
|
||||
} else {
|
||||
credentials.REDIRECT_URI = coinbase.redirect_uri.desktop;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue