fix(server): 1,000 not 10,000

This commit is contained in:
Anna 2022-08-25 19:12:49 -04:00
parent f3e75665e0
commit 2a2e649db8
Signed by: anna
GPG Key ID: 0B391D8F06FCD9E0
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ fn stats_seven_days(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> {
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());
}