aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Startup.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-07 22:02:31 +0800
committercrupest <crupest@outlook.com>2020-03-07 22:02:31 +0800
commitb686b383022e6d9db2bd61ad441be753cae3dbcf (patch)
tree391e42cf9106161bd6e9c84f5c73ef5d07ae84d7 /Timeline/Startup.cs
parent968140e8aaba398e10585e978aff33d7b32e824a (diff)
downloadtimeline-b686b383022e6d9db2bd61ad441be753cae3dbcf.tar.gz
timeline-b686b383022e6d9db2bd61ad441be753cae3dbcf.tar.bz2
timeline-b686b383022e6d9db2bd61ad441be753cae3dbcf.zip
...
Diffstat (limited to 'Timeline/Startup.cs')
-rw-r--r--Timeline/Startup.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/Startup.cs b/Timeline/Startup.cs
index 263e6b7a..873d2d3b 100644
--- a/Timeline/Startup.cs
+++ b/Timeline/Startup.cs
@@ -97,6 +97,8 @@ namespace Timeline
services.AddScoped<IETagGenerator, ETagGenerator>();
services.AddScoped<IDataManager, DataManager>();
+ services.AddScoped<IImageValidator, ImageValidator>();
+
services.AddUserAvatarService();
services.AddScoped<ITimelineService, TimelineService>();