prici-io / prici

manage plans and pricing for any SaaS application
https://prici.io
MIT License
37 stars 5 forks source link

bugfix: as a middleware user - custom errorMessage shouldn't be required #31

Closed davidmeirlevy closed 5 months ago

davidmeirlevy commented 6 months ago

right now, errorMessage is a require field in both express middleware and nest guard. it should be optional, and if not exists - a default error message will appear.

madina0801 commented 6 months ago

Hi, I would like to work on this issue. Could you please assign it to me? (And if yes, I would like to know the default message that should be appeared)

davidmeirlevy commented 6 months ago

Assigned you ✌️

I believe the default message should be "payment required".