From a83ef7286c97a30b04e51185a8575e54f2e01fb2 Mon Sep 17 00:00:00 2001 From: heieisch <50953609+heieisch@users.noreply.github.com> Date: Mon, 16 Oct 2023 09:10:38 +0200 Subject: [PATCH] Bugfix/issue 149 wiki page version (#151) * fix: upade WikiPage * Create 149.bugfix --- changes/149.bugfix | 1 + taiga/models/models.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/149.bugfix diff --git a/changes/149.bugfix b/changes/149.bugfix new file mode 100644 index 0000000..30fabce --- /dev/null +++ b/changes/149.bugfix @@ -0,0 +1 @@ +add the version parameter to the alloed parameter so the requester can acess it. diff --git a/taiga/models/models.py b/taiga/models/models.py index e34a5ca..fe39e37 100644 --- a/taiga/models/models.py +++ b/taiga/models/models.py @@ -1765,7 +1765,7 @@ class WikiPage(InstanceResource): repr_attribute = "slug" - allowed_params = ["project", "slug", "content", "watchers"] + allowed_params = ["project", "slug", "content", "watchers", "version"] def attach(self, attached_file, **attrs): """