Skip to content

Commit

Permalink
Parse /securitygroups data from body to header
Browse files Browse the repository at this point in the history
  • Loading branch information
KimKiHyuk committed Oct 3, 2020
1 parent d160e69 commit f1307ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/v1/Aws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const router = Router();


router.get('/securitygroups', async (req: Request, res: Response) => {
const { region, access_key, secret_key } = req.body;
const { region, access_key, secret_key } = req.headers;

let ret:PromiseType = await execShellCommand(`docker-compose -f helper/docker-compose.yml run \
-e AWS_DEFAULT_REGION=${region} \
Expand Down

0 comments on commit f1307ae

Please sign in to comment.