Compare commits

...

1 Commits

Author SHA1 Message Date
İspik
07f2c3d77a fix: Option::Error caused endpoints that used ValidatedTicket become inaccessible to bots
Signed-off-by: İspik <ispik@ispik.dev>
2026-06-22 21:35:42 +03:00

View File

@@ -51,7 +51,7 @@ impl<'r> FromRequest<'r> for ValidatedTicket {
Outcome::Error((Status::Forbidden, create_error!(InvalidToken)))
}
} else {
Outcome::Error((Status::Forbidden, create_error!(InvalidToken)))
Outcome::Forward(Status::Unauthorized)
}
}
Outcome::Forward(f) => Outcome::Forward(f),