@yolo-croket-dev/amqp-access 0.4.122-hj-1 → 0.4.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,5 +5,5 @@ export declare class AmqpExchangeRateService {
|
|
|
5
5
|
private readonly client;
|
|
6
6
|
private readonly amqpManager;
|
|
7
7
|
constructor(client: ClientProxy);
|
|
8
|
-
getExchangeRate(
|
|
8
|
+
getExchangeRate(param: AbstractParam): Promise<GetExchangeRateResult>;
|
|
9
9
|
}
|
|
@@ -21,8 +21,8 @@ let AmqpExchangeRateService = class AmqpExchangeRateService {
|
|
|
21
21
|
this.client = client;
|
|
22
22
|
this.amqpManager = new functions_1.AmqpManagement(this.client);
|
|
23
23
|
}
|
|
24
|
-
async getExchangeRate(
|
|
25
|
-
return this.amqpManager.call('환율 조회', 'exchange-rate.get.by-currency-code',
|
|
24
|
+
async getExchangeRate(param) {
|
|
25
|
+
return this.amqpManager.call('환율 조회', 'exchange-rate.get.by-currency-code', {}, param, { isErrorThrowing: true });
|
|
26
26
|
}
|
|
27
27
|
};
|
|
28
28
|
exports.AmqpExchangeRateService = AmqpExchangeRateService;
|