Skip to content

Commit f5cfe73

Browse files
committed
find org from org_name
1 parent 2e3de42 commit f5cfe73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def get_issues_by_owner(owner):
199199
type: string
200200
"""
201201
try:
202-
response = SupabaseInterface().get_instance().client.table('dmp_issue_updates').select('*').eq('owner', owner).order('comment_updated_at', desc=True).execute()
202+
response = SupabaseInterface().get_instance().client.table('dmp_issue_updates').select('*').eq('org_name', owner).order('comment_updated_at', desc=True).execute()
203203
if not response.data:
204204
return jsonify({'error': "No data found"}), 200
205205
data = response.data[0]

0 commit comments

Comments
 (0)