Skip to content

Commit b28d962

Browse files
committed
Fix BaseFile being a label in the DB
1 parent c892bd1 commit b28d962

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/components/file/dto/node.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { MergeExclusive, Opaque } from 'type-fest';
77
import { RegisterResource } from '~/core/resources';
88
import {
99
DateTimeField,
10+
DbLabel,
1011
ID,
1112
InputException,
1213
NameField,
@@ -77,6 +78,7 @@ export { FileNode as IFileNode, AnyFileNode as FileNode };
7778
@ObjectType({
7879
isAbstract: true,
7980
})
81+
@DbLabel(null)
8082
/**
8183
* Both file and file version have these properties
8284
*/

0 commit comments

Comments
 (0)