]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Update api version to v4
authorshamoon <4887959+shamoon@users.noreply.github.com>
Sat, 6 Jan 2024 05:35:40 +0000 (21:35 -0800)
committershamoon <4887959+shamoon@users.noreply.github.com>
Sat, 6 Jan 2024 05:35:40 +0000 (21:35 -0800)
src-ui/src/environments/environment.prod.ts
src-ui/src/environments/environment.ts
src/paperless/settings.py

index 0eaa437063dab365a48029785f65c9766e61d886..aa7f64c138e2437285b7f5eba6688cea71303347 100644 (file)
@@ -3,7 +3,7 @@ const base_url = new URL(document.baseURI)
 export const environment = {
   production: true,
   apiBaseUrl: document.baseURI + 'api/',
-  apiVersion: '3',
+  apiVersion: '4',
   appTitle: 'Paperless-ngx',
   version: '2.2.0-dev',
   webSocketHost: window.location.host,
index 10d245f34e8acc8c787df68c6285086a8a0b08a8..fccb8927c238d951c58deae439db4dbc0c067190 100644 (file)
@@ -5,7 +5,7 @@
 export const environment = {
   production: false,
   apiBaseUrl: 'http://localhost:8000/api/',
-  apiVersion: '3',
+  apiVersion: '4',
   appTitle: 'Paperless-ngx',
   version: 'DEVELOPMENT',
   webSocketHost: 'localhost:8000',
index 8185773e7eb7d11e153ceaee52050c3ef4d7b6ce..f2d306bbf9455f7e158c998326291963c3f25eb3 100644 (file)
@@ -319,7 +319,7 @@ REST_FRAMEWORK = {
     "DEFAULT_VERSION": "1",
     # Make sure these are ordered and that the most recent version appears
     # last
-    "ALLOWED_VERSIONS": ["1", "2", "3"],
+    "ALLOWED_VERSIONS": ["1", "2", "3", "4"],
 }
 
 if DEBUG: