This commit is contained in:
Ulf Gebhardt 2025-06-14 10:44:05 +02:00 committed by Maximilian Harz
parent 05e4d3d9ab
commit 780476b69b

View File

@ -12,6 +12,7 @@ import { v4 as uuid } from 'uuid'
import CONFIG, { isS3configured } from '@config/index'
import { Context } from '@src/server'
import { attachments } from './attachments/attachments'
import { validateEventParams } from './helpers/events'
import { filterForMutedUsers } from './helpers/filterForMutedUsers'
import { filterInvisiblePosts } from './helpers/filterInvisiblePosts'
@ -19,7 +20,6 @@ import { filterPostsOfMyGroups } from './helpers/filterPostsOfMyGroups'
import Resolver from './helpers/Resolver'
import { images } from './images/images'
import { createOrUpdateLocations } from './users/location'
import { attachments } from './attachments/attachments'
const maintainPinnedPosts = (params) => {
const pinnedPostFilter = { pinned: true }
@ -113,7 +113,6 @@ export default {
Mutation: {
CreatePost: async (_parent, params, context, _resolveInfo) => {
const { categoryIds, groupId, image: imageInput, files = [] } = params
console.log(params.content)
const locationName = validateEventParams(params)