mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-17 18:02:09 -05:00
ack comments
This commit is contained in:
@@ -186,7 +186,7 @@ export async function PATCH(request: NextRequest, { params }: RouteParams) {
|
||||
|
||||
const updated = await db
|
||||
.update(document)
|
||||
.set({ userExcluded: true, deletedAt: new Date() })
|
||||
.set({ userExcluded: true })
|
||||
.where(
|
||||
and(
|
||||
eq(document.connectorId, connectorId),
|
||||
|
||||
@@ -278,7 +278,7 @@ export const jiraConnector: ConnectorConfig = {
|
||||
|
||||
if (jqlFilter) {
|
||||
const filterParams = new URLSearchParams()
|
||||
filterParams.append('jql', `project = ${projectKey} AND (${jqlFilter})`)
|
||||
filterParams.append('jql', `project = "${safeKey}" AND (${jqlFilter})`)
|
||||
filterParams.append('maxResults', '0')
|
||||
|
||||
const filterUrl = `https://api.atlassian.com/ex/jira/${cloudId}/rest/api/3/search?${filterParams.toString()}`
|
||||
|
||||
Reference in New Issue
Block a user