You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 2, 2023. It is now read-only.
when the invoice is pasted and it's wrong there's an error written to the log but not provided to the user. Actually the log is pretty clear saying "Must include only alpha numeric characters", this message should be presented to the user in red text near the field that contains the error.
Reproduce
Log into Citadel
click Lightning
click Send
paste an invoice that contains a space in it. Animation of a line moving back and forth will occur with no feedback about what is wrong.
Citadel version
0.1.3
Operating system
Debian
Log output
middleware | InternalServerError: Must include only alpha numeric characters.
middleware | at Object.throw (/app/node_modules/koa/lib/context.js:97:11)
middleware | at Module.isAlphanumeric (file:///app/node_modules/@runcitadel/utils/lib/typeHelper.js:15:18)
middleware | at file:///app/routes/v1/lnd/lightning.js:45:16
middleware | at dispatch (/app/node_modules/koa-compose/index.js:42:32)
middleware | at file:///app/middlewares/auth.js:44:15
middleware | at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Describe the bug
when the invoice is pasted and it's wrong there's an error written to the log but not provided to the user. Actually the log is pretty clear saying "Must include only alpha numeric characters", this message should be presented to the user in red text near the field that contains the error.
Reproduce
Citadel version
0.1.3
Operating system
Debian
Log output