1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-17 23:50:58 -05:00

pass orgid from app code rather than querying it

This commit is contained in:
Kyle Spearrin
2017-05-04 07:23:40 -04:00
parent 5b5bd4e099
commit 4ab53d476c
4 changed files with 8 additions and 7 deletions

View File

@ -1,11 +1,10 @@
CREATE PROCEDURE [dbo].[CollectionUserUserDetails_ReadByCollectionId]
@CollectionId UNIQUEIDENTIFIER
@CollectionId UNIQUEIDENTIFIER,
@OrganizationId UNIQUEIDENTIFIER
AS
BEGIN
SET NOCOUNT ON
DECLARE @OrganizationId UNIQUEIDENTIFIER = (SELECT [OrganizationId] FROM [dbo].[Collection] WHERE [Id] = @CollectionId)
SELECT
*
FROM