Skip to content

Commit

Permalink
fix(cli): storage field key error during refresh (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
aFlyBird0 committed Jan 30, 2024
1 parent 3816b3f commit 17811c4
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cli/src/schema/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,9 @@ export class AppSchema {
}

appSchema.storage = {
endpoint: app.storage.credentials.endpoint,
accessKeyId: app.storage.credentials.accessKeyId,
accessKeySecret: app.storage.credentials.secretAccessKey,
sessionToken: app.storage.credentials.sessionToken,
endpoint: app.storage.endpoint,
accessKeyId: app.storage.accessKey,
accessKeySecret: app.storage.secretKey,
expire: timestamp + STORAGE_TOKEN_EXPIRE,
}

Expand Down

0 comments on commit 17811c4

Please sign in to comment.