This commit is contained in:
aafetisov committed 2026-10-16 15:58:41 +03:00
1 parent faa9487e03
commit b6185a95ea
2 files changed
+4 -48

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)