Add missing string interpolation

This commit is contained in:
Alex
2019-05-31 00:41:14 +02:00
parent 130802968b
commit 52681e53d1
+2 -2
View File
@@ -805,7 +805,7 @@ namespace Raven.Identity
using (var dbSession = docStore.OpenSession())
{
#pragma warning disable CS0618 // Type or member is obsolete
var stream = dbSession.Advanced.Stream<IdentityUserByUserName>("{collectionName}/");
var stream = dbSession.Advanced.Stream<IdentityUserByUserName>($"{collectionName}/");
#pragma warning restore CS0618 // Type or member is obsolete
while (stream.MoveNext())
{
@@ -834,7 +834,7 @@ namespace Raven.Identity
.Operations
.Send(new DeleteByQueryOperation(new Client.Documents.Queries.IndexQuery
{
Query = "from {collectionName}"
Query = $"from {collectionName}"
}));
operation.WaitForCompletion();
}