This commit is contained in:
aafetisov committed 2026-10-16 16:14:07 +03:00
1 parent f50bd580c3
commit 26c3887e66
2 files changed
+4 -25

No files matched your search

+1 -1
View File
@@ -440,7 +440,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)