1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-20 12:02:22 +03:00

storage: don't use references for pagination

This commit is contained in:
Quentin Gliech
2023-01-17 16:44:22 +01:00
parent 5e32c218d5
commit b33a330b5f
10 changed files with 34 additions and 33 deletions

View File

@@ -232,7 +232,7 @@ impl RootQuery {
let page = repo
.upstream_oauth_provider()
.list_paginated(&pagination)
.list_paginated(pagination)
.await?;
let mut connection = Connection::new(page.has_previous_page, page.has_next_page);