links info
This commit is contained in:
@@ -30,7 +30,7 @@ export async function GET(request: NextRequest) {
|
||||
}
|
||||
|
||||
if (team) {
|
||||
whereConditions.push(`hasToken(teams, 'team_id', '${team}')`);
|
||||
whereConditions.push(`arrayExists(x -> JSONExtractString(x, 'team_id') = '${team}', JSONExtractArrayRaw(teams))`);
|
||||
}
|
||||
|
||||
const whereClause = whereConditions.join(' AND ');
|
||||
|
||||
Reference in New Issue
Block a user