triniwiz / nativescript-aws-sdk

Apache License 2.0
17 stars 15 forks source link

Copy and paste mistake for ap-southeast-2 region #15

Open alpha-nero1 opened 3 years ago

alpha-nero1 commented 3 years ago

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital letter.

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it.

The issue here is that AP_SOUTHEAST_2 region is actually describing ap southeast 1 and thus uploads to not succeed when trying to use the 'ap-southeast-2' region

Is there any code involved?

export enum S3Regions {
   ...
    AP_SOUTHEAST_1 = 'ap-southeast-1',
    AP_SOUTHEAST_2 = 'ap-southeast-1',
    ...
}