feat: added format property filter to create or update pricing
parent
a7847185fd
commit
5e6e5cd8a7
|
@ -28,6 +28,10 @@ const setApiPricing = async (req, res) => {
|
|||
|
||||
let filter = { provider: normalizedProvider, product: normalizedProduct }
|
||||
|
||||
if(format){
|
||||
filter = {...filter, format}
|
||||
}
|
||||
|
||||
if (type) {
|
||||
filter = { ...filter, type }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue