CrazyIter_Bin 11 mesi fa
parent
commit
4807b892ee
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      TEAMModelOS.Function/IESCosmosDBTrigger.cs

+ 2 - 1
TEAMModelOS.Function/IESCosmosDBTrigger.cs

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