Commit c02f5a19 authored by Dan Notestein's avatar Dan Notestein
Browse files

Fix <bridge profile> regex to handle both single and array responses

The get_profile API returns a single object (root['id']) while
get_profiles returns an array (root[0]['id'], root[1]['id'], etc.).
The regex now uses an optional group to match both cases.
parent 76340dd2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment