This commit is contained in:
aafetisov committed 2026-10-16 15:51:31 +03:00
1 parent dba822085a
commit 88b1fa1595
2 files changed
+14 -176

No files matched your search

+1 -1
View File
@@ -444,7 +444,7 @@ func getTokenExp(token string) (time.Time, error) {
exp, ok := claims["exp"]
if !ok {
return time.Time{}, fmt.Errorf("exp time bot found")
return time.Time{}, fmt.Errorf("exp time not found")
}
expTime := time.Unix(int64(exp.(float64)), 0)