Skip to content

Commit be94087

Browse files
clydesantiagoClyde Dexter Santiago
andauthored
Fix high usage of memory during installation (gnikyt#705)
Co-authored-by: Clyde Dexter Santiago <clydesantiago@MacBook-Pro-M1.local>
1 parent 17805ff commit be94087

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ShopifyApp/Storage/Queries/Shop.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ public function getByID(ShopIdValue $shopId, array $with = [], bool $withTrashed
4242
}
4343

4444
return $result
45-
->get()
4645
->where('id', $shopId->toNative())
4746
->first();
4847
}
@@ -58,7 +57,6 @@ public function getByDomain(ShopDomainValue $domain, array $with = [], bool $wit
5857
}
5958

6059
return $result
61-
->get()
6260
->where('name', $domain->toNative())
6361
->first();
6462
}

0 commit comments

Comments
 (0)