Skip to content

A community-supported supercharged document management system: scan, index and archive all your documents

fix default api version

jonaswinkler247edc89f077
diff --git a/src/paperless/settings.py b/src/paperless/settings.py
index 48712954c..3dcff4a89 100644
--- a/src/paperless/settings.py
+++ b/src/paperless/settings.py
@@ -114,7 +114,7 @@ REST_FRAMEWORK = {
'rest_framework.authentication.TokenAuthentication'
],
'DEFAULT_VERSIONING_CLASS': 'rest_framework.versioning.AcceptHeaderVersioning',
- 'DEFAULT_VERSION': 'v1',
+ 'DEFAULT_VERSION': '1',
'ALLOWED_VERSIONS': ['1', '2']
}