mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix merge problem
This commit is contained in:
parent
53635e2890
commit
bd54a5269c
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user