mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-17 03:56:31 +01:00
Fix: correctly handle empty user for old notes api format, fix frontend API version (#9846)
This commit is contained in:
parent
c83b0bfca6
commit
86adc377a0
3 changed files with 3 additions and 3 deletions
|
|
@ -342,7 +342,7 @@ REST_FRAMEWORK = {
|
|||
"rest_framework.authentication.SessionAuthentication",
|
||||
],
|
||||
"DEFAULT_VERSIONING_CLASS": "rest_framework.versioning.AcceptHeaderVersioning",
|
||||
"DEFAULT_VERSION": "8",
|
||||
"DEFAULT_VERSION": "8", # match src-ui/src/environments/environment.prod.ts
|
||||
# Make sure these are ordered and that the most recent version appears
|
||||
# last. See api.md#api-versioning when adding new versions.
|
||||
"ALLOWED_VERSIONS": ["1", "2", "3", "4", "5", "6", "7", "8"],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue