diff --git a/app/controllers/api/v1/crews_controller.rb b/app/controllers/api/v1/crews_controller.rb index 4a2d2ea..7879063 100644 --- a/app/controllers/api/v1/crews_controller.rb +++ b/app/controllers/api/v1/crews_controller.rb @@ -158,11 +158,16 @@ module Api uncap_level: item.uncap_level, transcendence_step: item.transcendence_step, flb: canonical&.flb, - ulb: canonical&.ulb, - transcendence: canonical&.transcendence + ulb: canonical&.ulb } - result[:special] = canonical&.special if type == :characters + if type == :characters + result[:special] = canonical&.special + # For characters, transcendence availability is indicated by ulb on non-special chars + result[:transcendence] = !canonical&.special && canonical&.ulb + else + result[:transcendence] = canonical&.transcendence + end result end