Set 401 uptime cas as OK.
This commit is contained in:
parent
d309c4156a
commit
34550c8ab4
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ public class Uptime
|
|||
{
|
||||
this.datetime = LocalDateTime.now();
|
||||
this.code = code;
|
||||
if (HttpStatusCategory.isSuccess(code))
|
||||
if ((HttpStatusCategory.isSuccess(code)) || (HttpStatusCategory.isUnauthorized(code)))
|
||||
{
|
||||
this.status = UptimeStatus.OK;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue