Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
HUNG-rushb committed Jan 6, 2024
1 parent 08d3391 commit ed152e5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/resolvers/Mutation/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const postMutation = {
userId: args.data.userId,
},
});
console.log({ follower });
// console.log({ follower });

post = await prisma.post.create({
data: {
Expand Down Expand Up @@ -111,7 +111,7 @@ const postMutation = {
updatePost: async (parent, args, info) => {
let result;

console.log(args.data);
// console.log(args.data);

try {
result = await prisma.post.update({
Expand Down Expand Up @@ -176,7 +176,7 @@ const postMutation = {
},
include: { image: true },
});
console.log({ b });
// console.log({ b });

const a = await prisma.notification.create({
data: {
Expand All @@ -188,7 +188,7 @@ const postMutation = {
userIds: [post.userId],
},
});
console.log({ a });
// console.log({ a });

sendNotificationToClient(
[
Expand All @@ -208,7 +208,7 @@ const postMutation = {
id: args.data.postId,
},
});
console.log(userLikedPost);
// console.log(userLikedPost);

post = await prisma.post.update({
where: {
Expand Down Expand Up @@ -240,7 +240,7 @@ const postMutation = {
},
reportedPost: async (parent, args, info) => {
let post;
console.log({ args });
// console.log({ args });

post = await prisma.post.update({
where: {
Expand Down

0 comments on commit ed152e5

Please sign in to comment.