Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Dec 29, 2023
1 parent 23aeefc commit 1aefd34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/command/lark.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_lark_app(app_id, app_secret, encrypt_key, verification_token, host):
extra=dict(encrypt_key=encrypt_key, verification_token=verification_token),
)
db.session.add(application)
dn.session.commit()
db.session.commit()
else:
db.session.query(IMApplication).filter(
IMApplication.id == application.id,
Expand All @@ -65,7 +65,7 @@ def create_lark_app(app_id, app_secret, encrypt_key, verification_token, host):
),
)
)
dn.session.commit()
db.session.commit()
click.echo(f"webhook: \n{host}/api/feishu/hook/{app_id}")

click.confirm("success to save feishu app?", abort=True)
Expand Down

0 comments on commit 1aefd34

Please sign in to comment.