File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export async function processAWSAccessRequest(
4242 } else {
4343 content = `AWS access granted successfully <@${ discordUserId } >! Please head over to AWS - ${ AWS_IAM_SIGNIN_URL } .` ;
4444 }
45- return await fetch ( `${ DISCORD_BASE_URL } /channels/${ channelId } /messages` , {
45+ return fetch ( `${ DISCORD_BASE_URL } /channels/${ channelId } /messages` , {
4646 method : "POST" ,
4747 headers : {
4848 "Content-Type" : "application/json" ,
@@ -54,7 +54,7 @@ export async function processAWSAccessRequest(
5454 } ) ;
5555 } catch ( err ) {
5656 const content = `<@${ discordUserId } > Error occurred while granting AWS access.` ;
57- return await fetch ( `${ DISCORD_BASE_URL } /channels/${ channelId } /messages` , {
57+ return fetch ( `${ DISCORD_BASE_URL } /channels/${ channelId } /messages` , {
5858 method : "POST" ,
5959 headers : {
6060 "Content-Type" : "application/json" ,
You can’t perform that action at this time.
0 commit comments