Skip to content

Commit 1b7f1d7

Browse files
author
Adam Hathcock
committed
fmt
1 parent f661855 commit 1b7f1d7

File tree

3 files changed

+3
-10
lines changed

3 files changed

+3
-10
lines changed

src/Conduit/Features/Articles/List.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,7 @@ CancellationToken cancellationToken
110110
.AsNoTracking()
111111
.ToListAsync(cancellationToken);
112112

113-
return new ArticlesEnvelope
114-
{
115-
Articles = articles,
116-
ArticlesCount = queryable.Count()
117-
};
113+
return new ArticlesEnvelope { Articles = articles, ArticlesCount = queryable.Count() };
118114
}
119115
}
120116
}

src/Conduit/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,7 @@
8282
x.SwaggerDoc("v1", new OpenApiInfo { Title = "RealWorld API", Version = "v1" });
8383
x.CustomSchemaIds(y => y.FullName);
8484
x.DocInclusionPredicate((_, _) => true);
85-
x.TagActionsBy(y => new List<string>
86-
{
87-
y.GroupName ?? throw new InvalidOperationException()
88-
});
85+
x.TagActionsBy(y => new List<string> { y.GroupName ?? throw new InvalidOperationException() });
8986
x.CustomSchemaIds(s => s.FullName?.Replace("+", "."));
9087
});
9188

tests/Conduit.IntegrationTests/SliceFixture.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ namespace Conduit.IntegrationTests;
1010

1111
public class SliceFixture : IDisposable
1212
{
13-
1413
private readonly IServiceScopeFactory _scopeFactory;
1514
private readonly ServiceProvider _provider;
1615
private readonly string _dbName = Guid.NewGuid() + ".db";
16+
1717
public SliceFixture()
1818
{
1919
var services = new ServiceCollection();

0 commit comments

Comments
 (0)