diff options
| -rw-r--r-- | routes/payments.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routes/payments.ts b/routes/payments.ts index d8dc354b..82caa4c6 100644 --- a/routes/payments.ts +++ b/routes/payments.ts @@ -175,6 +175,7 @@ export default { const p = await getPayment(hash); if (p?.type === PaymentType.internal) p.with = await getUser(p.ref, fields); + if (p?.type === PaymentType.fund) p.with = await getUser(p.uid, fields); res.send(p); } catch (e) { console.log(e); |
