🚨 Fixed linter errors
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
}
|
||||
let attResp;
|
||||
const resp_data = await res1.json();
|
||||
// eslint-disable-next-line no-useless-catch
|
||||
try {
|
||||
resp_data.authenticatorSelection.authenticatorAttachment = 'cross-platform';
|
||||
for (let i = 0; i++; i < resp_data.excludeCredentials.length) {
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
let already_downloaded = false;
|
||||
|
||||
const download_code = (force: boolean = false) => {
|
||||
const download_code = (force = false) => {
|
||||
if (already_downloaded && !force) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user