Skip to content

Commit 4a35a33

Browse files
committed
fixup! fixup! fix(comments): Support user IDs that are numbers, e.g. "42"
1 parent dabf66e commit 4a35a33

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/comments/src/views/Comments.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,9 +206,9 @@ export default {
206206
}
207207
208208
// Ensure actor id is a string
209-
comments.forEach((comment) => {
209+
for (const comment of comments) {
210210
comment.props.actorId = comment.props.actorId.toString()
211-
})
211+
}
212212
213213
// Insert results
214214
this.comments = [...this.comments, ...comments]

0 commit comments

Comments
 (0)