mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
import is working. IMPORTANT ToDo: avoid nultiple imports
This commit is contained in:
parent
7d6800c113
commit
8479e27821
@ -76,7 +76,8 @@ export default {
|
||||
key: this.messageCounter++,
|
||||
})
|
||||
posts.forEach(async (post) => {
|
||||
const { title, content, categoryIds, language } = post
|
||||
const { title, content, language } = post
|
||||
const categoryIds = post.categories.map((cat) => cat.id)
|
||||
this.$apollo
|
||||
.mutate({
|
||||
mutation: PostMutations().CreatePost,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user