Browse Source

docs(core): Fix outdated description

Michael Bromley 2 years ago
parent
commit
512866f568
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/core/src/service/services/order.service.ts

+ 1 - 2
packages/core/src/service/services/order.service.ts

@@ -751,8 +751,7 @@ export class OrderService {
 
 
     /**
     /**
      * @description
      * @description
-     * Returns all {@link Promotion}s associated with an Order. A Promotion only gets associated with
-     * and Order once the order has been placed (see {@link OrderPlacedStrategy}).
+     * Returns all {@link Promotion}s associated with an Order.
      */
      */
     async getOrderPromotions(ctx: RequestContext, orderId: ID): Promise<Promotion[]> {
     async getOrderPromotions(ctx: RequestContext, orderId: ID): Promise<Promotion[]> {
         const order = await this.connection.getEntityOrThrow(ctx, Order, orderId, {
         const order = await this.connection.getEntityOrThrow(ctx, Order, orderId, {