From 53d439384a2546cef0af1337d1857997a0d29664 Mon Sep 17 00:00:00 2001 From: Lyonel Martinez Date: Wed, 14 Aug 2024 10:49:50 +0200 Subject: [PATCH] fix(org-invite): fix organization invitte payload --- src/vaultwarden/models/bitwarden.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vaultwarden/models/bitwarden.py b/src/vaultwarden/models/bitwarden.py index 9c76010..7a28cab 100644 --- a/src/vaultwarden/models/bitwarden.py +++ b/src/vaultwarden/models/bitwarden.py @@ -385,8 +385,8 @@ def invite( "emails": [email], "accessAll": access_all, "type": user_type, - "Collections": collections_payload, - "Groups": [], + "collections": collections_payload, + "groups": [], } resp = self.api_client.api_request( "POST", f"api/organizations/{self.Id}/users/invite", json=payload