aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sendInternal.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2022-11-02 19:58:00 -0700
committerAdam Soltys <[email protected]>2022-11-02 19:58:03 -0700
commit7d5a9b5a8f82fc4b6c2849dfb5b7f27a2b54a912 (patch)
tree35f1c5dceca5e7d0df475266f75bd7ac856b4475 /lib/sendInternal.js
parentbf262fde314bd33f5040eccb5ac775ed92d6b766 (diff)
downloadcoinos-server-7d5a9b5a8f82fc4b6c2849dfb5b7f27a2b54a912.tar.gz
coinos-server-7d5a9b5a8f82fc4b6c2849dfb5b7f27a2b54a912.zip
set with_id
Diffstat (limited to 'lib/sendInternal.js')
-rw-r--r--lib/sendInternal.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/sendInternal.js b/lib/sendInternal.js
index 3090e94a..640587b5 100644
--- a/lib/sendInternal.js
+++ b/lib/sendInternal.js
@@ -139,7 +139,8 @@ export default async (
hash: `#${v4().substr(0, 6)} Payment from ${user.username}`,
memo,
network: "COINOS",
- received: true
+ received: true,
+ with_id: user.id
};
if (invoice) {
@@ -194,7 +195,7 @@ export default async (
hash: `#${v4().substr(0, 6)} ${
username ? `Payment to ${username}` : "Internal Transfer"
}`,
- network: "COINOS"
+ network: "COINOS",
};
if (!username) {