CrazyIter_Bin 11 months ago
parent
commit
4807b892ee
1 changed files with 2 additions and 1 deletions
  1. 2 1
      TEAMModelOS.Function/IESCosmosDBTrigger.cs

+ 2 - 1
TEAMModelOS.Function/IESCosmosDBTrigger.cs

@@ -45,7 +45,8 @@ namespace TEAMModelOS.Function
             databaseName: "TEAMModelOS",
             containerName: "Common",
             Connection = "Azure:Cosmos:ConnectionString",
-            LeaseContainerName = "leases",
+            LeaseDatabaseName ="Lease",
+            LeaseContainerName = "lease",
             LeaseContainerPrefix = "TEAMModelOS",
             CreateLeaseContainerIfNotExists = true,StartFromBeginning =false)] IReadOnlyList<JsonElement> input)
         {