From ecae7141577f60aa337533c26314bb1afeff43c4 Mon Sep 17 00:00:00 2001
From: Vincent Petry <vincent@nextcloud.com>
Date: Thu, 25 Mar 2021 14:16:20 +0100
Subject: [PATCH] Change account property capability

Include version number in capability

Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
---
 apps/provisioning_api/lib/Capabilities.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/provisioning_api/lib/Capabilities.php b/apps/provisioning_api/lib/Capabilities.php
index eaec844313f..398502ae31c 100644
--- a/apps/provisioning_api/lib/Capabilities.php
+++ b/apps/provisioning_api/lib/Capabilities.php
@@ -44,7 +44,7 @@ class Capabilities implements ICapability {
 		return [
 			'provisioning_api' => [
 				'version' => $this->appManager->getAppVersion('provisioning_api'),
-				'hasAccountPropertyScopes' => true,
+				'AccountPropertyScopesVersion' => 2,
 			]
 		];
 	}
-- 
GitLab