My country's currency (Maldivian Rufiyaa) was not in the default list so I created it by running a database migration.
It's successfully created but when I try setting the price for that currency on a product variant, I get a client side type error:
Cannot read properties of undefined (reading 'decimal_digits')
I understand that's because it's trying to find that info from the client. I don't know where to put it. I tried to follow the docs here:
https://docs.medusajs.com/modules/regions-and-currencies/currencies#how-currencies-are-created
However, utils/currencies.js mentioned there do not exist in my project. I created that file and added the currency info, but it's not helping.
Can someone tell me what I'm missing here?