mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -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) {
|
) (types.RoomNID, error) {
|
||||||
var roomNID int64
|
var roomNID int64
|
||||||
stmt := common.TxStmt(txn, s.selectRoomNIDStmt)
|
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
|
return types.RoomNID(roomNID), err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue