Skip to content

Commit 77bddd9

Browse files
committed
fix(open): Fix resources open api
1 parent 545a451 commit 77bddd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/namespace-resources/open.resource.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class OpenResourcesController {
4949
content: data.content,
5050
tagIds: data.tag_ids || [],
5151
attrs: data.attrs || {},
52-
resourceType: ResourceType.FILE,
52+
resourceType: ResourceType.DOC,
5353
namespaceId: apiKey.namespaceId,
5454
parentId: apiKey.attrs.root_resource_id,
5555
};

0 commit comments

Comments
 (0)