mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
requested changes
This commit is contained in:
@ -4,7 +4,7 @@ namespace Bit.Core.Models.Api
|
||||
{
|
||||
public class SsoConfigRequestModel
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long? Id { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public Guid OrganizationId { get; set; }
|
||||
public string Data { get; set; }
|
||||
|
@ -19,7 +19,7 @@ namespace Bit.Core.Models.Api
|
||||
Data = ssoConfig.Data;
|
||||
}
|
||||
|
||||
public long Id { get; set; }
|
||||
public long? Id { get; set; }
|
||||
public bool Enabled { get; set; }
|
||||
public Guid OrganizationId { get; set; }
|
||||
public string Data { get; set; }
|
||||
|
@ -4,7 +4,7 @@ namespace Bit.Core.Models.Table
|
||||
{
|
||||
public class SsoConfig
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public long? Id { get; set; }
|
||||
public bool Enabled { get; set; } = true;
|
||||
public Guid OrganizationId { get; set; }
|
||||
public string Data { get; set; }
|
||||
|
@ -1,5 +1,5 @@
|
||||
CREATE PROCEDURE [dbo].[SsoConfig_Create]
|
||||
@Id BIGINT,
|
||||
@Id BIGINT OUTPUT,
|
||||
@Enabled BIT,
|
||||
@OrganizationId UNIQUEIDENTIFIER,
|
||||
@Data NVARCHAR(MAX),
|
||||
@ -8,6 +8,7 @@
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
SET @Id = SCOPE_IDENTITY();
|
||||
|
||||
INSERT INTO [dbo].[SsoConfig]
|
||||
(
|
||||
|
Reference in New Issue
Block a user