summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/external-backends.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/external-backends/external-backends.js')
-rw-r--r--server/lib/external-backends/external-backends.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/lib/external-backends/external-backends.js b/server/lib/external-backends/external-backends.js
index 0bf891e..a1264a0 100644
--- a/server/lib/external-backends/external-backends.js
+++ b/server/lib/external-backends/external-backends.js
@@ -9,7 +9,8 @@ class ExternalBackends {
}
getCredentials () {
- return 'If this method gets called the backend class has NOT IMPLEMENTED the getCredentials method!'
+ console.log('If this method gets called the backend class has NOT IMPLEMENTED the getCredentials method!')
+ return null
}
getInstance (type) {
@@ -25,6 +26,11 @@ class ExternalBackends {
const backend = new (require(path.join(__appdir, 'lib', 'external-backends', 'backends', bType)))()
return backend
}
+
+ async checkConnection () {
+ console.log('If this method gets called the backend class has NOT IMPLEMENTED the checkConnection method!')
+ return null
+ }
}
module.exports = ExternalBackends