Skip to content

Commit 6928324

Browse files
committed
wip files
1 parent 0159683 commit 6928324

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

baseapp-files/baseapp_files/graphql/object_types.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ class Meta:
3434
interfaces = (relay.Node,)
3535
model = File
3636
filterset_class = FileFilter
37+
name = "FileObjectType"
3738

3839
def resolve_file(self, info, **kwargs):
39-
return self.file.url
40+
return info.context.build_absolute_uri(self.file.url)
4041

4142
# @classmethod
4243
# def get_node(cls, info, id):

0 commit comments

Comments
 (0)