From 2035541c81dcc357ad92e8ab79347040289af8e5 Mon Sep 17 00:00:00 2001 From: heieisch <50953609+heieisch@users.noreply.github.com> Date: Fri, 13 Oct 2023 23:34:51 +0200 Subject: [PATCH 1/2] fix: upade WikiPage --- taiga/models/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): """ From 6fac4d0e12a48714c55ea7342ffcca72e6fdc32b Mon Sep 17 00:00:00 2001 From: heieisch <50953609+heieisch@users.noreply.github.com> Date: Fri, 13 Oct 2023 23:49:46 +0200 Subject: [PATCH 2/2] Create 149.bugfix --- changes/149.bugfix | 1 + 1 file changed, 1 insertion(+) 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.