|
|
@ -53,7 +53,7 @@ func (r *commentRepository) Insert(ctx context.Context, comment models.Comment) |
|
|
|
CharacterID: comment.CharacterID, |
|
|
|
Subject: comment.Subject, |
|
|
|
Author: comment.Author, |
|
|
|
CharacterName: comment.CharacterID, |
|
|
|
CharacterName: comment.CharacterName, |
|
|
|
Source: comment.Source, |
|
|
|
CreatedDate: comment.CreatedDate.UTC(), |
|
|
|
FictionalDate: comment.FictionalDate.UTC(), |
|
|
@ -73,7 +73,8 @@ func (r *commentRepository) Update(ctx context.Context, comment models.Comment, |
|
|
|
Subject: comment.Subject, |
|
|
|
Source: comment.Source, |
|
|
|
FictionalDate: comment.FictionalDate.UTC(), |
|
|
|
CharacterName: comment.ChapterID, |
|
|
|
EditedDate: comment.EditedDate.UTC(), |
|
|
|
CharacterName: comment.CharacterName, |
|
|
|
CharacterID: comment.CharacterID, |
|
|
|
ID: comment.ID, |
|
|
|
}) |
|
|
|