diff --git a/src/fr/devinsy/statoolinfos/uptime/Uptime.java b/src/fr/devinsy/statoolinfos/uptime/Uptime.java index f86bd73..817892a 100644 --- a/src/fr/devinsy/statoolinfos/uptime/Uptime.java +++ b/src/fr/devinsy/statoolinfos/uptime/Uptime.java @@ -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; }