From df42f8884d8499c46dd876daee9846d08c0d088e Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Mon, 18 Nov 2024 10:42:53 -0800 Subject: [PATCH] Bump api version --- src-ui/src/environments/environment.prod.ts | 2 +- src-ui/src/environments/environment.ts | 2 +- src/paperless/settings.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src-ui/src/environments/environment.prod.ts b/src-ui/src/environments/environment.prod.ts index 76ba37891..ba01ac9b0 100644 --- a/src-ui/src/environments/environment.prod.ts +++ b/src-ui/src/environments/environment.prod.ts @@ -3,7 +3,7 @@ const base_url = new URL(document.baseURI) export const environment = { production: true, apiBaseUrl: document.baseURI + 'api/', - apiVersion: '5', + apiVersion: '6', appTitle: 'Paperless-ngx', version: '2.13.5', webSocketHost: window.location.host, diff --git a/src-ui/src/environments/environment.ts b/src-ui/src/environments/environment.ts index 18715e90f..6256f3ae3 100644 --- a/src-ui/src/environments/environment.ts +++ b/src-ui/src/environments/environment.ts @@ -5,7 +5,7 @@ export const environment = { production: false, apiBaseUrl: 'http://localhost:8000/api/', - apiVersion: '5', + apiVersion: '6', appTitle: 'Paperless-ngx', version: 'DEVELOPMENT', webSocketHost: 'localhost:8000', diff --git a/src/paperless/settings.py b/src/paperless/settings.py index e5f31800f..1a495de09 100644 --- a/src/paperless/settings.py +++ b/src/paperless/settings.py @@ -333,7 +333,7 @@ REST_FRAMEWORK = { "DEFAULT_VERSION": "1", # Make sure these are ordered and that the most recent version appears # last - "ALLOWED_VERSIONS": ["1", "2", "3", "4", "5"], + "ALLOWED_VERSIONS": ["1", "2", "3", "4", "5", "6"], } if DEBUG: