Skip to content

Conversation

@oleksandr-nc
Copy link
Contributor

@oleksandr-nc oleksandr-nc commented May 9, 2025

Summary

In $appApiFunctions->exAppRequest we should pass the userID from which the event occurred, not the userID that registered the webhook.

This was a typo in the original code.

This only affects AppAPI and ExApps, but we should backport this fix to Nextcloud 30/31.

Checklist

Signed-off-by: Oleksander Piskun <oleksandr2088@icloud.com>
@oleksandr-nc oleksandr-nc requested review from come-nc and julien-nc May 9, 2025 10:12
@oleksandr-nc oleksandr-nc requested a review from a team as a code owner May 9, 2025 10:12
@oleksandr-nc oleksandr-nc requested review from Altahrim and sorbaugh and removed request for a team May 9, 2025 10:12
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@oleksandr-nc oleksandr-nc requested a review from kyteinsky May 9, 2025 10:30
@oleksandr-nc
Copy link
Contributor Author

/backport to stable30

@oleksandr-nc oleksandr-nc merged commit c7430d5 into master May 9, 2025
191 checks passed
@oleksandr-nc oleksandr-nc deleted the fix/noid/AppAPI-invalid-userId branch May 9, 2025 10:37
@oleksandr-nc
Copy link
Contributor Author

/backport to stable31

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webhook register in conbination of AppAPI will not fill out userId

4 participants