improvement: set default push rules on register

This commit is contained in:
timokoesters 2020-05-02 09:24:09 +02:00
parent 3cd0f89729
commit 4b191a9311
No known key found for this signature in database
GPG key ID: 356E705610F626D5
2 changed files with 34 additions and 1 deletions

View file

@ -92,7 +92,7 @@ impl<'a, T: Endpoint> FromData<'a> for Ruma<T> {
}),
Err(e) => {
warn!("{:?}", e);
Failure((Status::InternalServerError, ()))
Failure((Status::BadRequest, ()))
}
}
})