Files
Foundry-VTT-Docker/resources/app/node_modules/@smithy/config-resolver/dist-es/regionInfo/getResolvedPartition.js
2025-01-04 00:34:03 +01:00

2 lines
169 B
JavaScript

export const getResolvedPartition = (region, { partitionHash }) => Object.keys(partitionHash || {}).find((key) => partitionHash[key].regions.includes(region)) ?? "aws";