From 725d6ab0d69500153d248b67afe8e95600b32e32 Mon Sep 17 00:00:00 2001 From: Jim Hays Date: Mon, 24 Apr 2023 17:25:42 -0400 Subject: [PATCH] Fix typo in text string: 'compatibilty' -> 'compatibility' --- src/Api/Auth/Controllers/TwoFactorController.cs | 4 ++-- src/Api/Models/Request/DeviceVerificationRequestModel.cs | 2 +- src/Api/Models/Response/DeviceVerificationResponseModel.cs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Api/Auth/Controllers/TwoFactorController.cs b/src/Api/Auth/Controllers/TwoFactorController.cs index c927138daf..ddbe27e215 100644 --- a/src/Api/Auth/Controllers/TwoFactorController.cs +++ b/src/Api/Auth/Controllers/TwoFactorController.cs @@ -384,14 +384,14 @@ public class TwoFactorController : Controller } } - [Obsolete("Leaving this for backwards compatibilty on clients")] + [Obsolete("Leaving this for backwards compatibility on clients")] [HttpGet("get-device-verification-settings")] public Task GetDeviceVerificationSettings() { return Task.FromResult(new DeviceVerificationResponseModel(false, false)); } - [Obsolete("Leaving this for backwards compatibilty on clients")] + [Obsolete("Leaving this for backwards compatibility on clients")] [HttpPut("device-verification-settings")] public Task PutDeviceVerificationSettings([FromBody] DeviceVerificationRequestModel model) { diff --git a/src/Api/Models/Request/DeviceVerificationRequestModel.cs b/src/Api/Models/Request/DeviceVerificationRequestModel.cs index 466010af1f..ba1b854fce 100644 --- a/src/Api/Models/Request/DeviceVerificationRequestModel.cs +++ b/src/Api/Models/Request/DeviceVerificationRequestModel.cs @@ -4,7 +4,7 @@ namespace Bit.Api.Models.Request; public class DeviceVerificationRequestModel { - [Obsolete("Leaving this for backwards compatibilty on clients")] + [Obsolete("Leaving this for backwards compatibility on clients")] [Required] public bool UnknownDeviceVerificationEnabled { get; set; } } diff --git a/src/Api/Models/Response/DeviceVerificationResponseModel.cs b/src/Api/Models/Response/DeviceVerificationResponseModel.cs index d38e65ee80..efc97c9819 100644 --- a/src/Api/Models/Response/DeviceVerificationResponseModel.cs +++ b/src/Api/Models/Response/DeviceVerificationResponseModel.cs @@ -2,7 +2,7 @@ namespace Bit.Api.Models.Response; -[Obsolete("Leaving this for backwards compatibilty on clients")] +[Obsolete("Leaving this for backwards compatibility on clients")] public class DeviceVerificationResponseModel : ResponseModel { public DeviceVerificationResponseModel(bool isDeviceVerificationSectionEnabled, bool unknownDeviceVerificationEnabled)