mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-11 17:03:10 -06:00
Fix rooms_table
This commit is contained in:
parent
9994ad297b
commit
943957e2b6
|
|
@ -96,7 +96,7 @@ func (s *roomStatements) selectRoomNID(
|
|||
) (types.RoomNID, error) {
|
||||
var roomNID int64
|
||||
stmt := common.TxStmt(txn, s.selectRoomNIDStmt)
|
||||
err := stmt.QueryRow(ctx, roomID).Scan(&roomNID)
|
||||
err := stmt.QueryRowContext(ctx, roomID).Scan(&roomNID)
|
||||
return types.RoomNID(roomNID), err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue