From bd54a5269caee91e7f12412b77cbb93523c3c334 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Thu, 17 Jul 2025 15:04:58 +0200 Subject: [PATCH] fix merge problem --- backend/src/graphql/resolvers/posts.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/backend/src/graphql/resolvers/posts.ts b/backend/src/graphql/resolvers/posts.ts index b063eecaa..2a70857ec 100644 --- a/backend/src/graphql/resolvers/posts.ts +++ b/backend/src/graphql/resolvers/posts.ts @@ -9,7 +9,7 @@ import { isEmpty } from 'lodash' import { neo4jgraphql } from 'neo4j-graphql-js' import { v4 as uuid } from 'uuid' -import CONFIG, { isS3configured } from '@config/index' +import CONFIG from '@config/index' import { Context } from '@src/context' import { attachments } from './attachments/attachments' @@ -207,10 +207,6 @@ export default { // eslint-disable-next-line @typescript-eslint/no-explicit-any const atns: any[] = [] - if (!isS3configured(CONFIG)) { - return atns - } - for await (const file of files) { const atn = await attachments(CONFIG).add( post,