1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-07-31 09:24:31 +03:00

Fix compilation on older rust version

This commit is contained in:
Quentin Gliech
2022-02-28 10:03:46 +01:00
parent 3bdc6c6802
commit 8c97c98206

View File

@ -24,8 +24,8 @@ use serde_with::skip_serializing_none;
use sqlx::PgPool;
use warp::{filters::BoxedFilter, Filter, Rejection, Reply};
#[derive(Serialize)]
#[skip_serializing_none]
#[derive(Serialize)]
struct UserInfo {
sub: String,
username: String,