feat: included format to use register
parent
5e6e5cd8a7
commit
1e0f7e0a7d
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue