diff --git a/src/masoniteorm/relationships/HasOne.py b/src/masoniteorm/relationships/HasOne.py index 398ff618..854ff53f 100644 --- a/src/masoniteorm/relationships/HasOne.py +++ b/src/masoniteorm/relationships/HasOne.py @@ -70,4 +70,4 @@ def register_related(self, key, model, collection): model.add_relation({key: related or None}) def map_related(self, related_result): - return related_result.group_by(self.local_key) + return related_result \ No newline at end of file