Pass saved_view owner as id only (#4158)

This commit is contained in:
shamoon 2023-09-10 16:37:35 -07:00 committed by GitHub
parent 650c816a7b
commit 9a0e44a731
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
15 changed files with 15 additions and 16 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,7 @@
import { FilterRule } from './filter-rule'
import { ObjectWithId } from './object-with-id'
import { ObjectWithPermissions } from './object-with-permissions'
export interface PaperlessSavedView extends ObjectWithId {
export interface PaperlessSavedView extends ObjectWithPermissions {
name?: string
show_on_dashboard?: boolean

View File

@ -476,7 +476,6 @@ class SavedViewSerializer(OwnedObjectSerializer):
class Meta:
model = SavedView
depth = 1
fields = [
"id",
"name",