fix(medusa): fix update promotion's request type (#8966)
Fix the validator of the update promotion API route to match the update workflow input's type.
This commit is contained in:
@@ -138,7 +138,7 @@ export interface UpdatePromotionDTO {
|
||||
/**
|
||||
* The associated application method.
|
||||
*/
|
||||
application_method?: UpdateApplicationMethodDTO
|
||||
application_method?: Omit<UpdateApplicationMethodDTO, "id">
|
||||
|
||||
/**
|
||||
* The associated campaign's ID.
|
||||
|
||||
Reference in New Issue
Block a user