Experimenting using GraphQL in favor of REST.
This commit is contained in:
@@ -235,6 +235,7 @@ function getMedia(tagsMap) {
|
||||
mime: 'image/jpeg',
|
||||
index,
|
||||
domain: file.domain || 'tags',
|
||||
target: { [file.domain || 'tags']: file.target_id },
|
||||
role: file.role || 'photo',
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user