diff options
author | Joas Schilling <coding@schilljs.com> | 2022-06-07 22:06:18 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-06-10 15:51:41 +0200 |
commit | 958300955da04c0fd8feee30200dcc8cbdd0b9c9 (patch) | |
tree | dad9f8a5d881e78d17afa14d18d15b9bdda50604 /lib/Federation/CloudFederationProviderTalk.php | |
parent | 3c0f24c3ed92ea87039475df500396753179dc61 (diff) |
... just to find out it's the URL generation
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/Federation/CloudFederationProviderTalk.php')
-rw-r--r-- | lib/Federation/CloudFederationProviderTalk.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Federation/CloudFederationProviderTalk.php b/lib/Federation/CloudFederationProviderTalk.php index 9b8ce5f20..b46c0ea37 100644 --- a/lib/Federation/CloudFederationProviderTalk.php +++ b/lib/Federation/CloudFederationProviderTalk.php @@ -297,12 +297,12 @@ class CloudFederationProviderTalk implements ICloudFederationProvider { $declineAction = $notification->createAction(); $declineAction->setLabel('decline') - ->setLink($this->urlGenerator->linkToOCSRouteAbsolute('spreed.Federation.rejectShare', ['id' => $shareId]), 'DELETE'); + ->setLink($this->urlGenerator->linkToOCSRouteAbsolute('spreed.Federation.rejectShare', ['apiVersion' => 'v1', 'id' => $shareId]), 'DELETE'); $notification->addAction($declineAction); $acceptAction = $notification->createAction(); $acceptAction->setLabel('accept') - ->setLink($this->urlGenerator->linkToOCSRouteAbsolute('spreed.Federation.acceptShare', ['id' => $shareId]), 'POST'); + ->setLink($this->urlGenerator->linkToOCSRouteAbsolute('spreed.Federation.acceptShare', ['apiVersion' => 'v1', 'id' => $shareId]), 'POST'); $notification->addAction($acceptAction); $this->notificationManager->notify($notification); |