Skip to content

Commit 4f60827

Browse files
authored
Correctly save proposed changed with merging state (#6490)
1 parent cb88bfa commit 4f60827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/infrahub/graphql/mutations/proposed_change.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ async def mutate(
222222

223223
async with graphql_context.db.start_session() as db:
224224
proposed_change.state.value = ProposedChangeState.MERGING.value
225-
proposed_change.save(db=db)
225+
await proposed_change.save(db=db)
226226

227227
if wait_until_completion:
228228
await graphql_context.service.workflow.execute_workflow(

0 commit comments

Comments
 (0)