fix(medusa): validate customer for group discount (#3797)
* fix: validate customer for group discount * fix: remove logger * fix: add generated desc * fix: add an integration test case * refactor: update error message * fix: typo * refactor: move condition --------- Co-authored-by: fPolic <frane@medusajs.com>
This commit is contained in:
@@ -168,7 +168,7 @@ class Discount {
|
||||
* - code
|
||||
* properties:
|
||||
* code:
|
||||
* description: "The code that a Discount is identifed by."
|
||||
* description: "The code that a Discount is identified by."
|
||||
* type: string
|
||||
* customer_id:
|
||||
* description: "The ID of the Customer to associate the Cart with."
|
||||
|
||||
Reference in New Issue
Block a user