.. include:: /Includes.rst.txt .. _bugfix-1793068359: ============================================ Bugfix: Write holiday rules as they are read ============================================ Description =========== ``GET /api/v1/holiday-rules/{id}`` returns the name as a display string in ``name`` and as the localised object in ``names``, but the write operations only took the object as ``name`` and refused ``names``. A client could not send back what it had read. Create and update now take ``names``, and ignore ``name`` when ``names`` is given. The web form sends ``names``. Impact ====== Clients that send the object as ``name`` keep working for this release and should move to ``names``; the old shape is removed in the next one. .. index:: API, package:adsum-working-time