Skip to content

Commit

Permalink
[frontend] Fix workspace list
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel Hassine committed Dec 5, 2019
1 parent 2f12cee commit 6341829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opencti-platform/opencti-graphql/src/domain/workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const findAll = args => {
export const ownedBy = workspaceId => {
return loadWithConnectedRelations(
`match $x isa User;
$rel(owner:$x, to:$workspace) isa owned_by;
$rel(owner:$x, so:$workspace) isa owned_by;
$workspace has internal_id_key "${escapeString(workspaceId)}"; get; offset 0; limit 1;`,
'x',
'rel'
Expand Down

0 comments on commit 6341829

Please sign in to comment.