Oops, fix crashing bug when loading item appearances endpoint

I missed this because it's only for backgrounds and stuff! But yeah I
added a prefix to the `Body` struct, and forgot to apply it everywhere,
oops!
This commit is contained in:
Emi Matchu 2024-02-24 16:14:30 -08:00
parent e0b5382c3f
commit cd095eefcb

View file

@ -459,7 +459,7 @@ class Item < ApplicationRecord
# If there are no body-specific assets, return one appearance for them all.
if swf_assets_by_body_id.empty?
body = Body.new(0, nil)
body = Appearance::Body.new(0, nil)
return [Appearance.new(body, swf_assets_for_all_bodies)]
end