fix merge problem

This commit is contained in:
Ulf Gebhardt 2025-07-17 15:04:58 +02:00
parent 53635e2890
commit bd54a5269c
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -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,