Skip to content

Commit

Permalink
add missing file
Browse files Browse the repository at this point in the history
  • Loading branch information
lloydzhou committed Dec 29, 2023
1 parent 231455b commit 8556c3d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions server/model/lark.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from .schema import IMApplication, db


def get_bot_by_app_id(app_id):
return (
db.session.query(IMApplication)
.filter(
IMApplication.app_id == app_id,
)
.first()
)

0 comments on commit 8556c3d

Please sign in to comment.