From 9c2964d9b680073e2e478556f222d6bef34ebd08 Mon Sep 17 00:00:00 2001
From: Patrick Bellerive
Date: Sun, 24 Nov 2024 09:17:00 -0500
Subject: [PATCH] remove group by
---
src/masoniteorm/relationships/HasOne.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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