This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 284
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
9 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -309,11 +309,9 @@ API.prototype.incrementLoginViaQrStats = function () { | |
}; | ||
|
||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
jtormey
Contributor
|
||
API.prototype.incrementBtcEthUsageStats = function (btcBalance, ethBalance) { | ||
let base = this.ROOT_URL + 'event?name=wallet_login_balance_'; | ||
let makeEventUrl = (curr, cond) => base + curr + '_' + (cond ? 1 : 0); | ||
fetch(makeEventUrl('btc', btcBalance > 0)); | ||
fetch(makeEventUrl('eth', ethBalance > 0)); | ||
fetch(makeEventUrl('btceth', btcBalance > 0 && ethBalance > 0)); | ||
let base = this.ROOT_URL + 'event?name=wallet_login_balance'; | ||
let makeEventUrl = (btc, eth) => `${base}_btc_${btc ? 1 : 0}_eth_${eth ? 1 : 0}`; | ||
fetch(makeEventUrl(btcBalance > 0, ethBalance > 0)); | ||
}; | ||
|
||
API.prototype.getBlockchainAddress = function () { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 comment
on commit b76adc0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Тест
How do I change the API URL?