fix: vcs-server list is_active 컬럼 ambiguous 에러 수정
This commit is contained in:
@@ -8,7 +8,7 @@ export default defineEventHandler(async (event) => {
|
||||
const params = getQuery(event)
|
||||
const includeInactive = params.includeInactive === 'true'
|
||||
|
||||
const conditions = includeInactive ? [] : ['is_active = true']
|
||||
const conditions = includeInactive ? [] : ['s.is_active = true']
|
||||
const whereClause = conditions.length > 0 ? `WHERE ${conditions.join(' AND ')}` : ''
|
||||
|
||||
const servers = await query(`
|
||||
|
||||
Reference in New Issue
Block a user