Skip to content

Commit d777d4c

Browse files
committed
chore(server): Linting fixes for queued indexing
1 parent f92e2e3 commit d777d4c

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/openneuro-server/src/libs/authentication/user-migration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import * as Sentry from "@sentry/node"
2121
export async function userMigration(orcid: string, userId: string) {
2222
const session = await mongoose.startSession()
2323
try {
24-
let updateDatasets: Record<string, boolean> = {}
24+
const updateDatasets: Record<string, boolean> = {}
2525
await session.withTransaction(async () => {
2626
try {
2727
// Load both original records

packages/openneuro-server/src/queues/queues.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export function setupQueues() {
1414
EQueueDeliveryModel.POINT_TO_POINT,
1515
(err) => {
1616
// The queue may already exist, don't log that error
17-
console.log(err)
1817
if (err !== "QueueQueueExistsError") {
1918
Sentry.captureException(err)
2019
}

0 commit comments

Comments
 (0)