feat: included format to use register

main
adriano 2025-09-23 08:08:18 -03:00
parent 5e6e5cd8a7
commit 1e0f7e0a7d
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ const registerUsage = async (req, res) => {
const apiPricing = await API_Pricing.findOne({ const apiPricing = await API_Pricing.findOne({
provider: provider.trim().toLowerCase(), provider: provider.trim().toLowerCase(),
product: product.trim().toLowerCase(), product: product.trim().toLowerCase(),
format: format?.trim().toLowerCase()
}) })
if (apiPricing) { if (apiPricing) {