Skip to content

Commit

Permalink
Bugfix/issue 149 wiki page version (#151)
Browse files Browse the repository at this point in the history
* fix: upade WikiPage

* Create 149.bugfix
  • Loading branch information
heieisch authored Oct 16, 2023
1 parent 7d717c6 commit a83ef72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changes/149.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
add the version parameter to the alloed parameter so the requester can acess it.
2 changes: 1 addition & 1 deletion taiga/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit a83ef72

Please sign in to comment.