1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00

Fix send rotation error message (#4624)

This commit is contained in:
Bernd Schoolmann 2024-08-13 17:41:27 +02:00 committed by GitHub
parent 5084ccc328
commit 1442bf94ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ public class SendRotationValidator : IRotationValidator<IEnumerable<SendWithIdRe
var send = sends.FirstOrDefault(c => c.Id == existing.Id);
if (send == null)
{
throw new BadRequestException("All existing folders must be included in the rotation.");
throw new BadRequestException("All existing sends must be included in the rotation.");
}
result.Add(send.ToSend(existing, _sendService));