fix(server): 1,000 not 10,000
This commit is contained in:
parent
a78b29e9ff
commit
92b485c51b
|
@ -406,7 +406,7 @@ fn stats_seven_days(state: Arc<State>) -> BoxedFilter<(impl Reply, )> {
|
||||||
|
|
||||||
fn contribute(state: Arc<State>) -> BoxedFilter<(impl Reply, )> {
|
fn contribute(state: Arc<State>) -> BoxedFilter<(impl Reply, )> {
|
||||||
async fn logic(state: Arc<State>, listing: PartyFinderListing) -> std::result::Result<impl Reply, Infallible> {
|
async fn logic(state: Arc<State>, listing: PartyFinderListing) -> std::result::Result<impl Reply, Infallible> {
|
||||||
if listing.created_world >= 10_000 || listing.home_world >= 10_000 || listing.current_world >= 10_000 {
|
if listing.created_world >= 1_000 || listing.home_world >= 1_000 || listing.current_world >= 1_000 {
|
||||||
return Ok("invalid listing".to_string());
|
return Ok("invalid listing".to_string());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue