Skip to content

Commit 23b3844

Browse files
authored
Merge pull request #7617 from schrodingersket/bugfix/7616
#7616: Fixed parameter binding when querying full `detailed_state` object for a compute server.
2 parents 8176976 + cd10e94 commit 23b3844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/packages/server/compute/set-detailed-state.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export async function getDetailedState({ project_id, id, name }) {
8989
if (!name) {
9090
const { rows } = await pool.query(
9191
"SELECT detailed_state FROM compute_servers WHERE id=$1 AND project_id=$2",
92-
[id, project_id, name],
92+
[id, project_id],
9393
);
9494
return rows[0]?.detailed_state;
9595
} else {

0 commit comments

Comments
 (0)