Commit 9df1959
committed
fix(api): Eager-load ActiveStorage attachments in orders endpoint
Thread Spree::Asset.attachment_preloads through find_order so variant
image URLs in the order JSON response don't N+1 under ActiveStorage.1 parent 00d4062 commit 9df1959
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
0 commit comments