diff options
| author | Adam Soltys <[email protected]> | 2021-05-21 14:05:02 -0400 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2021-05-21 14:05:02 -0400 |
| commit | 3ce9c73b1d4a281fe1475206d49c4f436e0b992e (patch) | |
| tree | 8e8324d74761f164d9615a068a0f4f840506e642 /lib | |
| parent | 37412d24f5c7b0c6d316ce240ef29cd4ccd2ca6d (diff) | |
| download | coinos-server-3ce9c73b1d4a281fe1475206d49c4f436e0b992e.tar.gz coinos-server-3ce9c73b1d4a281fe1475206d49c4f436e0b992e.zip | |
persist liquid conversion requests
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/mail.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mail.js b/lib/mail.js index e690d305..705880d2 100644 --- a/lib/mail.js +++ b/lib/mail.js @@ -58,7 +58,7 @@ imap.once("ready", function() { let { user } = account; - let rate = app.get("rates")["CAD"]; + let rate = app.get("rates")["CAD"] * 1.02; let amount = Math.round((cad / rate) * 100000000); await account.increment({ balance: amount }, { transaction }); |
