Skip to content

Commit 329f70b

Browse files
committed
Add card face images
1 parent c600632 commit 329f70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/resources/card_resource.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class CardResource < ApplicationResource # rubocop:disable Metrics/ClassLength
7474

7575
unless @object.num_extra_faces.zero?
7676
@object.face_indices.each do |index|
77-
f = { index: }
77+
f = { index:, images: images(@object.latest_printing_id, index) }
7878
f[:base_link] = @object.faces_base_link[index] if @object.faces_base_link[index]
7979
f[:display_subtypes] = @object.faces_display_subtypes[index] if @object.faces_display_subtypes[index]
8080
f[:card_subtype_ids] = @object.faces_card_subtype_ids[index].compact if @object.faces_card_subtype_ids[index]

0 commit comments

Comments
 (0)