Skip to content

Commit 7788d6c

Browse files
authored
fix(cli): fix app init error (#1608)
1 parent 366a6a4 commit 7788d6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/src/action/application/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ export async function init(appid: string, options: { sync: boolean, basicMode: b
8080
},
8181
storage: {
8282
endpoint: app.storage.credentials.endpoint,
83-
accessKeyId: app.storage.credentials.accessKeyId,
84-
accessKeySecret: app.storage.credentials.secretAccessKey,
83+
accessKeyId: app.storage.accessKey,
84+
accessKeySecret: app.storage.secretKey,
8585
sessionToken: app.storage.credentials.sessionToken,
8686
expire: timestamp + STORAGE_TOKEN_EXPIRE,
8787
},

0 commit comments

Comments
 (0)