def merge2
import cswap-bend-cli@0.1.0.0/swcreds.bend as Swcredsimport Base
import cswap-bend-cli@0.1.0.0/json.bend as Json
64def merge2(+live: Json.Json, +target: Json.Json, +target_text: String) -> String:
65 match live target:
66 case Json.JObj{lf} Json.JObj{tf}:
67 merge3(has_oauth(tf), lf, tf, target_text)
68 case _ _:
69 target_text