summaryrefslogtreecommitdiff
path: root/src/mailman/rest/helpers.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/rest/helpers.py')
-rw-r--r--src/mailman/rest/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rest/helpers.py b/src/mailman/rest/helpers.py
index 6a1408988..425164ef7 100644
--- a/src/mailman/rest/helpers.py
+++ b/src/mailman/rest/helpers.py
@@ -186,7 +186,7 @@ class CollectionMixin:
return result
def path_to(self, resource):
- return path_to(resource, self.api_version)
+ return path_to(resource, self.api.version)