aboutsummaryrefslogtreecommitdiffstats
path: root/apps/comments/src/services
diff options
context:
space:
mode:
Diffstat (limited to 'apps/comments/src/services')
-rw-r--r--apps/comments/src/services/CommentsInstance.js2
-rw-r--r--apps/comments/src/services/DavClient.js2
-rw-r--r--apps/comments/src/services/DeleteComment.js2
-rw-r--r--apps/comments/src/services/EditComment.js2
-rw-r--r--apps/comments/src/services/GetComments.js8
-rw-r--r--apps/comments/src/services/NewComment.js6
6 files changed, 11 insertions, 11 deletions
diff --git a/apps/comments/src/services/CommentsInstance.js b/apps/comments/src/services/CommentsInstance.js
index f5263f35c3d..82f1b77e15e 100644
--- a/apps/comments/src/services/CommentsInstance.js
+++ b/apps/comments/src/services/CommentsInstance.js
@@ -22,7 +22,7 @@
import { getLoggerBuilder } from '@nextcloud/logger'
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
-import CommentsApp from '../views/Comments'
+import CommentsApp from '../views/Comments.vue'
import Vue from 'vue'
const logger = getLoggerBuilder()
diff --git a/apps/comments/src/services/DavClient.js b/apps/comments/src/services/DavClient.js
index ee5aec129c1..6837ce90c56 100644
--- a/apps/comments/src/services/DavClient.js
+++ b/apps/comments/src/services/DavClient.js
@@ -23,7 +23,7 @@
import { createClient, getPatcher } from 'webdav'
import axios from '@nextcloud/axios'
-import { getRootPath } from '../utils/davUtils'
+import { getRootPath } from '../utils/davUtils.js'
// Add this so the server knows it is an request from the browser
axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest'
diff --git a/apps/comments/src/services/DeleteComment.js b/apps/comments/src/services/DeleteComment.js
index 871f6b6c5b8..43d53129f72 100644
--- a/apps/comments/src/services/DeleteComment.js
+++ b/apps/comments/src/services/DeleteComment.js
@@ -20,7 +20,7 @@
*
*/
-import client from './DavClient'
+import client from './DavClient.js'
/**
* Delete a comment
diff --git a/apps/comments/src/services/EditComment.js b/apps/comments/src/services/EditComment.js
index f3a2d857356..51d0d4cca65 100644
--- a/apps/comments/src/services/EditComment.js
+++ b/apps/comments/src/services/EditComment.js
@@ -20,7 +20,7 @@
*
*/
-import client from './DavClient'
+import client from './DavClient.js'
/**
* Edit an existing comment
diff --git a/apps/comments/src/services/GetComments.js b/apps/comments/src/services/GetComments.js
index bf3dd31b5f1..4bdab9046a2 100644
--- a/apps/comments/src/services/GetComments.js
+++ b/apps/comments/src/services/GetComments.js
@@ -20,10 +20,10 @@
*
*/
-import { parseXML, prepareFileFromProps } from 'webdav/dist/node/tools/dav'
-import { processResponsePayload } from 'webdav/dist/node/response'
-import { decodeHtmlEntities } from '../utils/decodeHtmlEntities'
-import client from './DavClient'
+import { parseXML, prepareFileFromProps } from 'webdav/dist/node/tools/dav.js'
+import { processResponsePayload } from 'webdav/dist/node/response.js'
+import { decodeHtmlEntities } from '../utils/decodeHtmlEntities.js'
+import client from './DavClient.js'
export const DEFAULT_LIMIT = 20
/**
diff --git a/apps/comments/src/services/NewComment.js b/apps/comments/src/services/NewComment.js
index 27d227ed656..a7fb58e32fb 100644
--- a/apps/comments/src/services/NewComment.js
+++ b/apps/comments/src/services/NewComment.js
@@ -21,10 +21,10 @@
*/
import { getCurrentUser } from '@nextcloud/auth'
-import { getRootPath } from '../utils/davUtils'
-import { decodeHtmlEntities } from '../utils/decodeHtmlEntities'
+import { getRootPath } from '../utils/davUtils.js'
+import { decodeHtmlEntities } from '../utils/decodeHtmlEntities.js'
import axios from '@nextcloud/axios'
-import client from './DavClient'
+import client from './DavClient.js'
/**
* Retrieve the comments list