Skip to content

Commit

Permalink
Merge pull request #24 from FIAP-Tech-Chalenge/features
Browse files Browse the repository at this point in the history
Features
  • Loading branch information
Perkles authored May 4, 2024
2 parents 3a0dfa6 + 4c93f37 commit 1e8b3e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- run: |
sam deploy --no-confirm-changeset --no-fail-on-empty-changeset --resolve-s3 \
--parameter-overrides \
UserPoolId=${{ secrets.USERPOOL_ID }}, ClientId=${{ secrets.CLIENT_ID }}, Region=${{ secrets.REGION }}
UserPoolId=${{ secrets.USERPOOL_ID }}, ClientId=${{ secrets.CLIENT_ID }}, RegionName=${{ secrets.REGION }}
2 changes: 1 addition & 1 deletion authenticate/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { CognitoIdentityProviderClient, AdminInitiateAuthCommand, SignUpCommand,

const userPoolId = process.env.UserPoolId || 'default_value';
const clientId = process.env.ClientId || 'default_value';
const region = process.env.Region || 'default_value';
const region = process.env.RegionName || 'default_value';
const cognitoClient = new CognitoIdentityProviderClient({region: region});
const senhaPadrao = "Mudar#123"

Expand Down
2 changes: 1 addition & 1 deletion template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Resources:
Variables:
UserPoolId: ${{ secrets.USERPOOL_ID }}
ClientId: ${{ secrets.CLIENT_ID }}
Region: ${{ secrets.REGION }}
RegionName: ${{ secrets.REGION }}

# Outputs:
# # ServerlessRestApi is an implicit API created out of Events key under Serverless::Function
Expand Down

0 comments on commit 1e8b3e5

Please sign in to comment.