diff --git a/backend/src/seed/factories/comments.js b/backend/src/seed/factories/comments.js index b6ada7ac9..2a131d0d9 100644 --- a/backend/src/seed/factories/comments.js +++ b/backend/src/seed/factories/comments.js @@ -3,7 +3,7 @@ import uuid from 'uuid/v4' export default function (params) { const { - id = uuid(), + postId = 'p6', content = [ faker.lorem.sentence(), faker.lorem.sentence() @@ -13,7 +13,7 @@ export default function (params) { return ` mutation { CreateComment( - id: "${id}", + postId: "${postId}", content: "${content}" ) { id, content } }