|
@@ -7,7 +7,7 @@ import { Ctx } from '../../decorators/request-context.decorator';
|
|
|
|
|
|
|
|
@Resolver()
|
|
@Resolver()
|
|
|
export class ShopShippingMethodsResolver {
|
|
export class ShopShippingMethodsResolver {
|
|
|
- constructor(private shippingMethodService: ShippingMethodService) {}
|
|
|
|
|
|
|
+ constructor(readonly shippingMethodService: ShippingMethodService) {}
|
|
|
|
|
|
|
|
@Query()
|
|
@Query()
|
|
|
async activeShippingMethods(@Ctx() ctx: RequestContext): Promise<ShippingMethod[]> {
|
|
async activeShippingMethods(@Ctx() ctx: RequestContext): Promise<ShippingMethod[]> {
|