Skip to content

Commit

Permalink
fix(post): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
linehk committed Mar 9, 2024
1 parent 73f75f2 commit 29f1ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/post/rpc/internal/logic/insert_logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ func (l *InsertLogic) Insert(in *post.InsertReq) (*post.Post, error) {
Status: sql.NullString{String: commentReq.GetStatus(), Valid: true},
Published: sql.NullTime{Time: commentReq.GetPublished().AsTime(), Valid: true},
Updated: sql.NullTime{Time: commentReq.GetUpdated().AsTime(), Valid: true},
Selflink: sql.NullString{String: commentReq.GetSelfLink(), Valid: true},
SelfLink: sql.NullString{String: commentReq.GetSelfLink(), Valid: true},
Content: sql.NullString{String: commentReq.GetContent(), Valid: true},
}
_, err := l.svcCtx.CommentModel.Insert(l.ctx, commentModel)
Expand Down

0 comments on commit 29f1ef8

Please sign in to comment.