Skip to content

Commit

Permalink
fix: cea commonjs syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
beetcb committed Jul 5, 2021
1 parent 48e2e77 commit 4fc3982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serverless/cea/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
exports.main = () => {
// 导入 Cea 和内置的签到插件中的函数 checkIn
const Cea, { checkIn } = require('cea')
const { default: Cea, checkIn } = require('cea')
// 创建 Cea 的实例
const cea = new Cea()
// 注册插件
Expand Down

0 comments on commit 4fc3982

Please sign in to comment.