Skip to content

Commit

Permalink
fix(cli): storage server api changed for cli (labring#1609)
Browse files Browse the repository at this point in the history
* fix(cli): fix app init error

* fix(cli): fix app init error
  • Loading branch information
nightwhite authored Oct 26, 2023
1 parent 92c9830 commit bf4150e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/action/application/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ export async function init(appid: string, options: { sync: boolean, basicMode: b
developTokenExpire: timestamp + DEBUG_TOKEN_EXPIRE,
},
storage: {
endpoint: app.storage.credentials.endpoint,
endpoint: app.storage.endpoint,
accessKeyId: app.storage.accessKey,
accessKeySecret: app.storage.secretKey,
sessionToken: app.storage.credentials.sessionToken,
sessionToken: app.storage.sessionToken,
expire: timestamp + STORAGE_TOKEN_EXPIRE,
},
}
Expand Down

0 comments on commit bf4150e

Please sign in to comment.