Fix another silly error

This commit is contained in:
Fred Boniface 2023-05-24 00:49:28 +01:00
parent affba1e93b
commit e2624efb5a
1 changed files with 0 additions and 1 deletions

View File

@ -92,7 +92,6 @@ async function register() { // Registers a device by sending POST request to API
if (res.status == 201) {
regState = 'success'
regMsg = 'ok'
return
} else if (res.status == 403) {
log(`settings.register: Error: Fetch returned: ${res.body['errorCode']}`, 'err')
document.getElementsByName('eml')[0].placeholder = 'Not Authorised'