This commit is contained in:
aafetisov committed 2026-10-16 16:07:08 +03:00
1 parent a70efe8875
commit d1f530a10f
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)