Skip to content

Commit 6b3f9fa

Browse files
committed
Update room_repository.cpp
1 parent 4588b1a commit 6b3f9fa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MatchingServer/src/repository/room_repository.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace game_server {
2525
pqxx::result result = txn.exec_params(
2626
"SELECT room_id, room_name, host_id, ip_address, port, "
2727
"max_players, status, created_at "
28-
"FROM rooms WHERE status = 'WAITING' AND status = 'GAME_IN_PROGRESS' "
28+
"FROM rooms WHERE status = 'WAITING' OR status = 'GAME_IN_PROGRESS' "
2929
"ORDER BY created_at DESC");
3030

3131
txn.commit();

0 commit comments

Comments
 (0)