Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
dfounderliu committed Apr 8, 2020
1 parent 8fe4030 commit 0760b9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion serverless.component.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: scf
version: 0.0.1
version: 0.0.2
author: anycodes
org: anycodes
description: Deploys Tencent SCF.
Expand Down
3 changes: 3 additions & 0 deletions src/serverless.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,9 @@ class Express extends Component {
}
}

this.state.region = region
this.state.lambdaArn = scfOutput.FunctionName

await this.save()

return output
Expand Down

0 comments on commit 0760b9b

Please sign in to comment.