Update blueprints
This commit is contained in:
parent
0f81053d83
commit
e3e7d895a4
2 changed files with 4 additions and 3 deletions
|
|
@ -16,7 +16,7 @@ module Api
|
|||
{
|
||||
flb: w.flb,
|
||||
ulb: w.ulb,
|
||||
xlb: w.xlb
|
||||
transcendence: w.transcendence
|
||||
}
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue