Update blueprints

This commit is contained in:
Justin Edmund 2024-01-13 10:18:28 -08:00
parent 0f81053d83
commit e3e7d895a4
2 changed files with 4 additions and 3 deletions

View file

@ -16,7 +16,7 @@ module Api
{
flb: w.flb,
ulb: w.ulb,
xlb: w.xlb
transcendence: w.transcendence
}
end

View file

@ -17,7 +17,8 @@ module Api
field :uncap do |w|
{
flb: w.flb,
ulb: w.ulb
ulb: w.ulb,
transcendence: w.transcendence
}
end
@ -39,7 +40,7 @@ module Api
}
end
field :awakenings, if: lambda { |_fn, obj, _opt| obj.awakenings.length.positive? } do |w|
field :awakenings, if: ->(_fn, obj, _opt) { obj.awakenings.length.positive? } do |w|
w.awakenings.map do |a|
AwakeningBlueprint.render_as_hash(a)
end