diff options
| author | Adam Soltys <[email protected]> | 2023-06-06 12:39:04 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-06-06 12:39:21 -0700 |
| commit | fe25e3888e2191f3fae3b74632ed0c59069a6ed2 (patch) | |
| tree | 490a6ad24f4a72505a20cef34770f859332cb9b1 | |
| parent | cbe05ca3b5457f20dcc2ca3b39aae881ea31b5f3 (diff) | |
| download | coinos-server-fe25e3888e2191f3fae3b74632ed0c59069a6ed2.tar.gz coinos-server-fe25e3888e2191f3fae3b74632ed0c59069a6ed2.zip | |
select user profile and banner
| -rw-r--r-- | routes/invoices.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/invoices.js b/routes/invoices.js index 50034dc7..a1ead582 100644 --- a/routes/invoices.js +++ b/routes/invoices.js @@ -17,7 +17,7 @@ export default { if (invoice) { delete invoice.secret; - invoice.user = pick(await g(`user:${invoice.uid}`), ['id', 'currency', 'username']); + invoice.user = pick(await g(`user:${invoice.uid}`), ['id', 'profile', 'banner', 'currency', 'username']); invoice.id = hash; } else if (config.classic) { invoice = await got(`${config.classic}/invoice/${pr}`).json(); |
