From 1ac8089f61fc3b087a22ee23f8d4595b2df35513 Mon Sep 17 00:00:00 2001 From: oneRain Date: Thu, 3 Jun 2021 15:44:56 +0800 Subject: [PATCH] chore: init with master key --- Engine/Public/LCEngine.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Engine/Public/LCEngine.cs b/Engine/Public/LCEngine.cs index 276797c..8abf27f 100644 --- a/Engine/Public/LCEngine.cs +++ b/Engine/Public/LCEngine.cs @@ -105,7 +105,8 @@ namespace LeanCloud.Engine { LCApplication.Initialize(Environment.GetEnvironmentVariable("LEANCLOUD_APP_ID"), Environment.GetEnvironmentVariable("LEANCLOUD_APP_KEY"), - Environment.GetEnvironmentVariable("LEANCLOUD_API_SERVER")); + Environment.GetEnvironmentVariable("LEANCLOUD_API_SERVER"), + Environment.GetEnvironmentVariable("LEANCLOUD_APP_MASTER_KEY")); LCCore.HttpClient.AddAddtionalHeader(LCHookKeyName, Environment.GetEnvironmentVariable("LEANCLOUD_APP_HOOK_KEY")); Assembly assembly = Assembly.GetCallingAssembly();