fix: correct spelling of 'Verification' in PasteSettings and PasteController

This commit is contained in:
2026-02-06 22:11:37 -05:00
parent 4917180624
commit 697ec384f8
2 changed files with 3 additions and 3 deletions
@@ -46,7 +46,7 @@ namespace SharpbinV3.Server.Controllers
if (System.Text.Encoding.UTF8.GetByteCount(content) > _pasteSettings.MaxPasteSizeInBytes)
return BadRequest(new { success = false, message = $"Paste size exceeds the maximum allowed size of {_pasteSettings.MaxPasteSizeInBytes} bytes." });
if (_pasteSettings.RequiresVerfication && !await _verificationService.VerifyAsync(new VerificationContext
if (_pasteSettings.RequiresVerification && !await _verificationService.VerifyAsync(new VerificationContext
{
Token = token,
Ip = HttpContext.GetRequestIP()
@@ -427,7 +427,7 @@ namespace SharpbinV3.Server.Controllers
],
MaxTitleLength = _pasteSettings.MaxTitleLength,
MaxPasteSize = _pasteSettings.MaxPasteSizeInBytes,
RequiresVerification = _pasteSettings.RequiresVerfication
RequiresVerification = _pasteSettings.RequiresVerification
});
}
}