mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 18:37:17 +01:00
fix(comments): Support user IDs that are numbers, e.g. "42"
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
@@ -205,8 +205,13 @@ export default {
|
||||
this.done = true
|
||||
}
|
||||
|
||||
// Ensure actor id is a string
|
||||
for (const comment of comments) {
|
||||
comment.props.actorId = comment.props.actorId.toString()
|
||||
}
|
||||
|
||||
// Insert results
|
||||
this.comments.push(...comments)
|
||||
this.comments = [...this.comments, ...comments]
|
||||
|
||||
// Increase offset for next fetch
|
||||
this.offset += DEFAULT_LIMIT
|
||||
|
||||
Reference in New Issue
Block a user