summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs')
-rw-r--r--src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs b/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs
index 864aa215..bd414ea2 100644
--- a/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs
+++ b/src/SMAPI.Web/Framework/AllowLargePostsAttribute.cs
@@ -40,7 +40,7 @@ namespace StardewModdingAPI.Web.Framework
public void OnAuthorization(AuthorizationFilterContext context)
{
IFeatureCollection features = context.HttpContext.Features;
- IFormFeature formFeature = features.Get<IFormFeature>();
+ IFormFeature? formFeature = features.Get<IFormFeature>();
if (formFeature?.Form == null)
{