File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " serverless-tencent-scf" ,
3- "version" : " 0.1.22 " ,
3+ "version" : " 0.1.24 " ,
44 "description" : " Provider plugin for the Serverless Framework v1.x which adds support for Tencent Cloud Functions." ,
55 "main" : " index.js" ,
66 "author" : " Tencent Cloud, Inc." ,
Original file line number Diff line number Diff line change @@ -290,14 +290,12 @@ class TencentProvider {
290290 }
291291 } )
292292 // From cam to getting appid
293- if ( ! this . options . credentials . tencent_appid ) {
294- const appid = await this . getAppid ( {
295- SecretId : this . options . credentials . tencent_secret_id ,
296- SecretKey : this . options . credentials . tencent_secret_key
297- } )
298- this . options . credentials . tencent_appid = appid . AppId
299- this . options . credentials . tencent_owneruin = appid . OwnerUin
300- }
293+ const appid = await this . getAppid ( {
294+ SecretId : this . options . credentials . tencent_secret_id ,
295+ SecretKey : this . options . credentials . tencent_secret_key
296+ } )
297+ this . options . credentials . tencent_appid = appid . AppId
298+ this . options . credentials . tencent_owneruin = appid . OwnerUin
301299 } catch ( e ) { }
302300 return
303301 }
You can’t perform that action at this time.
0 commit comments