1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

added expiration date and creator identifier to the Send access response model (#1166)

This commit is contained in:
Addison Beck
2021-02-25 17:04:53 -05:00
committed by GitHub
parent 2f7c2a64e0
commit b21c9042ca
2 changed files with 10 additions and 1 deletions

View File

@ -4,6 +4,7 @@ using Bit.Core.Models.Data;
using Bit.Core.Models.Table;
using Bit.Core.Utilities;
using Bit.Core.Settings;
using Bit.Core.Services;
using Newtonsoft.Json;
namespace Bit.Core.Models.Api
@ -39,6 +40,7 @@ namespace Bit.Core.Models.Api
}
Name = sendData.Name;
ExpirationDate = send.ExpirationDate;
}
public string Id { get; set; }
@ -46,5 +48,7 @@ namespace Bit.Core.Models.Api
public string Name { get; set; }
public SendFileModel File { get; set; }
public SendTextModel Text { get; set; }
public DateTime? ExpirationDate { get; set; }
public string CreatorIdentifier { get; set; }
}
}