Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix(ocm): fix invitation JSON body #11512

Merged
merged 1 commit into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-ocm-invite-body
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Bugfix: OCM invite generation body format

We've fixed the issue where the body of the OCM invite generation was not formatted correctly.

https://github.com/owncloud/web/pull/11512
https://github.com/owncloud/ocis/issues/9583
7 changes: 2 additions & 5 deletions packages/web-app-ocm/src/views/OutgoingInvitations.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,15 +202,12 @@ export default defineComponent({
if (unref(descriptionErrorMessage)) {
return
}

try {
const { data: tokenInfo } = await clientService.httpAuthenticated.post(
'/sciencemesh/generate-invite',
{
params: {
...(description && { description }),
...(recipient && { recipient })
}
...(description && { description }),
...(recipient && { recipient })
},
{
schema: inviteSchema
Expand Down