Skip to content

Commit

Permalink
fix: spacecat bot
Browse files Browse the repository at this point in the history
  • Loading branch information
alinarublea authored Sep 30, 2024
1 parent cc5a2af commit 297b98f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"@aws-sdk/s3-request-presigner": "3.658.1",
"@slack/bolt": "3.22.0",
"busboy": "1.6.0",
"psl": "^1.9.0",
"psl": "1.9.0",
"slack-block-builder": "2.8.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/controllers/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ function ImportController(context) {
env,
};

const { authInfo: { profile } } = attributes;
let importConfiguration = {};
try {
importConfiguration = JSON.parse(env.IMPORT_CONFIGURATION);
Expand Down Expand Up @@ -176,6 +175,7 @@ function ImportController(context) {
validateAccessScopes([SCOPE.WRITE]);
validateRequestData(multipartFormData);

const { authInfo: { profile } } = attributes;
let initiatedBy = {};
if (profile) {
initiatedBy = {
Expand Down

0 comments on commit 297b98f

Please sign in to comment.