mirror of
https://github.com/bitwarden/server.git
synced 2026-02-03 17:43:03 -06:00
[PM-31280] Specify UTC dates for Archive, Unarchive, Restore, and RestoreByIds (#6919)
This commit is contained in:
parent
5941e830d2
commit
51aa419585
@ -248,7 +248,7 @@ public class CipherRepository : Repository<Cipher, Guid>, ICipherRepository
|
|||||||
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
|
|
||||||
return results;
|
return DateTime.SpecifyKind(results, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -595,7 +595,7 @@ public class CipherRepository : Repository<Cipher, Guid>, ICipherRepository
|
|||||||
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
|
|
||||||
return results;
|
return DateTime.SpecifyKind(results, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -608,7 +608,7 @@ public class CipherRepository : Repository<Cipher, Guid>, ICipherRepository
|
|||||||
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
new { Ids = ids.ToGuidIdArrayTVP(), UserId = userId },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
|
|
||||||
return results;
|
return DateTime.SpecifyKind(results, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -621,7 +621,7 @@ public class CipherRepository : Repository<Cipher, Guid>, ICipherRepository
|
|||||||
new { Ids = ids.ToGuidIdArrayTVP(), OrganizationId = organizationId },
|
new { Ids = ids.ToGuidIdArrayTVP(), OrganizationId = organizationId },
|
||||||
commandType: CommandType.StoredProcedure);
|
commandType: CommandType.StoredProcedure);
|
||||||
|
|
||||||
return results;
|
return DateTime.SpecifyKind(results, DateTimeKind.Utc);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user