mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
fix linter warnings
This commit is contained in:
parent
ec9eb0dd60
commit
972d158161
@ -1,4 +1,4 @@
|
||||
const error = require('./error')
|
||||
const error = require('./error');
|
||||
const logger = require('../logger').ddns;
|
||||
const internalAccessList = require('../internal/access-list');
|
||||
const utils = require('./utils');
|
||||
@ -55,7 +55,7 @@ const ddnsResolver = {
|
||||
ddnsResolver._cache.set(address, [resolvedIP, Date.now()]);
|
||||
return resolvedIP;
|
||||
})
|
||||
.catch((_error) => {
|
||||
.catch((/*error*/) => {
|
||||
// return input address in case of failure
|
||||
return address;
|
||||
});
|
||||
@ -211,10 +211,10 @@ const ddnsResolver = {
|
||||
|
||||
_getAccessLists: () => {
|
||||
const fakeAccess = {
|
||||
can: (capabilityStr) => {
|
||||
can: (/*role*/) => {
|
||||
return Promise.resolve({
|
||||
permission_visibility: 'all'
|
||||
})
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user