return null
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-17 13:51:09 -05:00
parent d125cb47d6
commit ee1638e1dd

View File

@ -159,7 +159,8 @@ class Mount with ChangeNotifier {
return null;
}
return jsonDecode(response.body)['Location'] as String;
final location = jsonDecode(response.body)['Location'] as String;
return location.trim().isEmpty ? null : location;
} catch (e) {
debugPrint('$e');
}