aboutsummaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/src/external.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/federatedfilesharing/src/external.js')
-rw-r--r--apps/federatedfilesharing/src/external.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/src/external.js b/apps/federatedfilesharing/src/external.js
index 5db1c57ffa1..09e007489b5 100644
--- a/apps/federatedfilesharing/src/external.js
+++ b/apps/federatedfilesharing/src/external.js
@@ -109,7 +109,7 @@ const processIncomingShareFromUrl = function() {
password,
},
).done(function(data) {
- if (data.hasOwnProperty('legacyMount')) {
+ if (Object.hasOwn(data, 'legacyMount')) {
reloadFilesList()
} else {
window.OC.Notification.showTemporary(data.message)