File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
src/Packages/Marketplace/Runtime Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -32,21 +32,21 @@ public static class LinkConfig
3232 private static string _apiOnRampKeySandbox = "d14b44fb-0f84-4db5-affb-e044040d724b" ;
3333 private static string _apiOnRampKeyProduction = "ad1bca70-d917-4628-bb0f-5609537498bc" ;
3434
35- public static string GetBaseUrl ( Environment env , Flow flow )
35+ public static string GetBaseUrl ( Environment environment , Flow flow )
3636 {
3737 return flow switch
3838 {
39- Flow . OnRamp => env == Environment . Sandbox ? _onRampBaseUrlSandbox : _onRampBaseUrlProduction ,
40- Flow . Swap => env == Environment . Sandbox ? _swapBaseUrlSandbox : _swapBaseUrlProduction ,
41- Flow . Bridge => env == Environment . Sandbox ? _bridgeBaseUrlSandbox : _bridgeBaseUrlProduction ,
39+ Flow . OnRamp => environment == Environment . Sandbox ? _onRampBaseUrlSandbox : _onRampBaseUrlProduction ,
40+ Flow . Swap => environment == Environment . Sandbox ? _swapBaseUrlSandbox : _swapBaseUrlProduction ,
41+ Flow . Bridge => environment == Environment . Sandbox ? _bridgeBaseUrlSandbox : _bridgeBaseUrlProduction ,
4242 _ => throw new ArgumentException ( "Invalid flow" )
4343 } ;
4444 }
4545
46- public static string GetApiKey ( Environment env , Flow flow )
46+ public static string GetApiKey ( Environment environment , Flow flow )
4747 {
4848 return flow is Flow . OnRamp ?
49- env == Environment . Sandbox ? _apiOnRampKeySandbox : _apiOnRampKeyProduction :
49+ environment == Environment . Sandbox ? _apiOnRampKeySandbox : _apiOnRampKeyProduction :
5050 string . Empty ;
5151 }
5252 }
You can’t perform that action at this time.
0 commit comments