瀏覽代碼

docs(core): Fix outdated description

Michael Bromley 2 年之前
父節點
當前提交
512866f568
共有 1 個文件被更改,包括 1 次插入2 次删除
  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
-     * 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[]> {
         const order = await this.connection.getEntityOrThrow(ctx, Order, orderId, {