Skip to content

Commit

Permalink
fix: added string intering
Browse files Browse the repository at this point in the history
  • Loading branch information
wyattjoh committed Mar 30, 2022
1 parent ff9fc54 commit 4bab3dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion strategies/legacy/legacy.go
Expand Up @@ -132,7 +132,7 @@ func SeedCommentsReferences(ctx *Context) error {
defer ctx.Mutex.Unlock()

ref, _ := ctx.FindOrCreateComment(in.ID)
ref.Status = TranslateCommentStatus(in.Status)
ref.Status = intern.String(TranslateCommentStatus(in.Status))
ref.StoryID = in.AssetID
if in.ParentID != nil {
ref.ParentID = *in.ParentID
Expand Down

0 comments on commit 4bab3dc

Please sign in to comment.