We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7636244 commit a9f6e90Copy full SHA for a9f6e90
1 file changed
service/post_service.go
@@ -42,6 +42,7 @@ func (s *postService) CreatePost(ctx context.Context, userId string, req dto.Pos
42
43
post := entity.Post{
44
Text: req.Text,
45
+ UserID: uuid.MustParse(userId),
46
ParentID: req.ParentID,
47
}
48
0 commit comments