1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

[PM-6201] Fix creation of organizations no longer working after merging #5130 (#5142)

This commit is contained in:
Jonas Hendrickx
2024-12-11 14:56:46 +01:00
committed by GitHub
parent 09db6c79cb
commit 64573d01a3
3 changed files with 3 additions and 7 deletions

View File

@ -181,11 +181,6 @@ public class Organization : ITableObject<Guid>, IStorableSubscriber, IRevisable,
public bool IsExpired() => ExpirationDate.HasValue && ExpirationDate.Value <= DateTime.UtcNow;
/// <summary>
/// Used storage in gigabytes.
/// </summary>
public double StorageGb => Storage.HasValue ? Math.Round(Storage.Value / 1073741824D, 2) : 0;
public long StorageBytesRemaining()
{
if (!MaxStorageGb.HasValue)