mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-01 11:06:24 -04:00
🐛 fix(remote-browser): Remove unused test() function (#4155)
* fix * fix lint * Update Notifications.vue * Update ActionInput.vue
This commit is contained in:
parent
46432618e1
commit
db7a92a74c
3 changed files with 3 additions and 13 deletions
|
@ -1,5 +1,5 @@
|
|||
const { R } = require("redbean-node");
|
||||
const { testRemoteBrowser } = require("./monitor-types/real-browser-monitor-type.js");
|
||||
|
||||
class RemoteBrowser {
|
||||
|
||||
/**
|
||||
|
@ -67,16 +67,6 @@ class RemoteBrowser {
|
|||
await R.trash(bean);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tests the connection to Remote Browser
|
||||
* @param {object} remoteBrowser Docker host to check for
|
||||
* @returns {boolean} Returns if connection worked
|
||||
*/
|
||||
static async test(remoteBrowser) {
|
||||
const testResult = await testRemoteBrowser(remoteBrowser.id, remoteBrowser.user_id);
|
||||
return testResult;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue