mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
fix(Wise Node): Respect time parameter on get: exchangeRate (#3227)
This commit is contained in:
parent
79ced8f677
commit
c7d525a60f
|
@ -281,7 +281,7 @@ export class Wise implements INodeType {
|
|||
if (range !== undefined && time === undefined) {
|
||||
qs.from = moment.tz(range.rangeProperties.from, timezone).utc().format();
|
||||
qs.to = moment.tz(range.rangeProperties.to, timezone).utc().format();
|
||||
} else {
|
||||
} else if (time === undefined) {
|
||||
qs.from = moment().subtract(1, 'months').utc().format();
|
||||
qs.to = moment().format();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue