Skip to content

Commit bcafe59

Browse files
committed
fix: check error message was referencing an invalid variable
1 parent 711e988 commit bcafe59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

scim2_tester/resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def check_object_query_without_id(
147147
return CheckResult(
148148
conf,
149149
status=Status.ERROR,
150-
reason=f"Could not find object {obj.__class__.__name__} with id : {response.detail}",
150+
reason=f"Could not find object {obj.__class__.__name__} with id : {obj.id}",
151151
data=response,
152152
)
153153

0 commit comments

Comments
 (0)