We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c1cbd4 commit 11d1affCopy full SHA for 11d1aff
1 file changed
backend/apps/datasource/crud/datasource.py
@@ -31,7 +31,7 @@ def get_datasource_list(session: SessionDep, user: CurrentUser, oid: Optional[in
31
if user.isAdmin and oid:
32
current_oid = oid
33
return session.exec(
34
- select(CoreDatasource).where(CoreDatasource.oid == current_oid).order_by(CoreDatasource.name)).all()
+ select(CoreDatasource).where(CoreDatasource.oid == int(current_oid)).order_by(CoreDatasource.name)).all()
35
36
37
def get_ds(session: SessionDep, id: int):
0 commit comments