aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/comments-activity-tab.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/comments-activity-tab.ts')
-rw-r--r--apps/comments/src/comments-activity-tab.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/comments/src/comments-activity-tab.ts b/apps/comments/src/comments-activity-tab.ts
index 30c1e38d8e7..0cb3bf70bbb 100644
--- a/apps/comments/src/comments-activity-tab.ts
+++ b/apps/comments/src/comments-activity-tab.ts
@@ -41,7 +41,7 @@ export function registerCommentsPlugins() {
parent: context,
propsData: {
reloadCallback: reload,
- ressourceId: fileInfo.id,
+ resourceId: fileInfo.id,
},
})
ActivityTabPluginInstance.$mount(el)
@@ -56,7 +56,7 @@ export function registerCommentsPlugins() {
})
window.OCA.Activity.registerSidebarEntries(async ({ fileInfo, limit, offset }) => {
- const { data: comments } = await getComments({ commentsType: 'files', ressourceId: fileInfo.id }, { limit, offset })
+ const { data: comments } = await getComments({ resourceType: 'files', resourceId: fileInfo.id }, { limit, offset })
logger.debug('Loaded comments', { fileInfo, comments })
const { default: CommentView } = await import('./views/ActivityCommentEntry.vue')
const CommentsViewObject = Vue.extend(CommentView)
@@ -68,7 +68,7 @@ export function registerCommentsPlugins() {
parent: context,
propsData: {
comment,
- ressourceId: fileInfo.id,
+ resourceId: fileInfo.id,
reloadCallback: reload,
},
})