mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix(Wise Node): Respect time parameter on get: exchangeRate (#3227)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user