nextcloud/apps/files_sharing
Daniel Calviño Sánchez e1796a57e8 fix: Fix error when creating mail shares if custom tokens are enabled
When a new share is saved it is first created in the backend and then
updated with some additional attributes set in the frontend. If custom
tokens are enabled the attributes to update also include the token.
However, for new shares the token is set by the backend when it is
created, it is not defined by the frontend, so the token returned by the
backend needs to be copied to the share data in the frontend. Otherwise
the update would fail because an empty token is sent.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2026-05-18 11:36:13 +01:00
..
appinfo chore: Bump app versions and requirements 2026-05-15 09:31:33 +02:00
composer feat: postpone receiving share validation after processing a certain number of users 2026-04-24 14:39:49 +02:00
css chore(files_sharing): remove leftover of legacy files ui 2025-07-31 21:09:43 +02:00
img chore: Make app icons consistent Material Symbols with same settings 2024-07-10 15:53:45 +02:00
l10n fix(l10n): Update translations from Transifex 2026-05-16 00:24:00 +00:00
lib refactor: Apply rector changes 2026-04-29 23:54:19 +02:00
src fix: Fix error when creating mail shares if custom tokens are enabled 2026-05-18 11:36:13 +01:00
templates chore(files_sharing): remove leftover of legacy files ui 2025-07-31 21:09:43 +02:00
tests refactor: Apply rector changes 2026-04-29 23:54:19 +02:00
.l10nignore chore: Add SPDX header 2024-06-02 20:00:00 +02:00
openapi.json chore: update openapi 2026-04-21 19:13:53 +02:00
openapi.json.license chore: Add SPDX header 2024-06-02 20:00:00 +02:00