diff options
author | Till <2353100+S7evinK@users.noreply.github.com> | 2023-09-28 14:50:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 14:50:31 +0200 |
commit | 3d02c8103152fbb9a5401a091ef0f681a32bfeee (patch) | |
tree | bbb482679246990721742ce7f55810fe06b7a774 /syncapi/storage/postgres | |
parent | 1853f58cb492c423641636562c6aa6eb701426a2 (diff) |
Fix tests for x86 (#3214)
Diffstat (limited to 'syncapi/storage/postgres')
-rw-r--r-- | syncapi/storage/postgres/memberships_table.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syncapi/storage/postgres/memberships_table.go b/syncapi/storage/postgres/memberships_table.go index fcbe14b1..4fe4260d 100644 --- a/syncapi/storage/postgres/memberships_table.go +++ b/syncapi/storage/postgres/memberships_table.go @@ -131,7 +131,7 @@ func (s *membershipsStatements) SelectMembershipCount( // string as the membership. func (s *membershipsStatements) SelectMembershipForUser( ctx context.Context, txn *sql.Tx, roomID, userID string, pos int64, -) (membership string, topologyPos int, err error) { +) (membership string, topologyPos int64, err error) { stmt := sqlutil.TxStmt(txn, s.selectMembershipForUserStmt) err = stmt.QueryRowContext(ctx, roomID, userID, pos).Scan(&membership, &topologyPos) if err != nil { |