Fix mqtt credentials

This commit is contained in:
Thomas Fransolet 2023-11-30 17:09:50 +01:00
parent 1e31ebe094
commit eb0263dee8
2 changed files with 6 additions and 2 deletions

View File

@ -184,6 +184,10 @@ namespace ManagerService.Controllers
return new OkObjectResult(instance.ToDTO()); return new OkObjectResult(instance.ToDTO());
} }
catch (KeyNotFoundException ex)
{
return new NotFoundObjectResult(ex.Message) { };
}
catch (Exception ex) catch (Exception ex)
{ {
return new ObjectResult(ex.Message) { StatusCode = 500 }; return new ObjectResult(ex.Message) { StatusCode = 500 };

View File

@ -32,8 +32,8 @@
}, },
"ClientSettings": { "ClientSettings": {
"Id": "ManagerService", "Id": "ManagerService",
"UserName": "admin", "UserName": "user1", //admin
"Password": "mdlf2021!" "Password": "MyMuseum2023!" //mdlf2021!
}, },
"SupportedLanguages": [ "FR", "NL", "EN", "DE", "IT", "ES", "PL", "CN", "AR", "UK" ] "SupportedLanguages": [ "FR", "NL", "EN", "DE", "IT", "ES", "PL", "CN", "AR", "UK" ]
//"Urls": "http://[::]:80" //"Urls": "http://[::]:80"