Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/queries/getAllOrcidAccountsWithSplits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ export async function getAllOrcidAccountsWithSplits(
li.account_id as "accountId",
li.owner_address as "ownerAddress",
li.owner_account_id as "ownerAccountId",
li.is_linked as "isLinked",
li.are_splits_valid as "isLinked",
li.identity_type as "identityType",
sr.receiver_account_id as "receiverAccountId",
sr.weight as "weight"
FROM ${dbSchema}.linked_identities li
INNER JOIN ${dbSchema}.splits_receivers sr ON li.account_id = sr.sender_account_id
WHERE li.identity_type = 'orcid'
AND li.is_linked = true
AND li.are_splits_valid = true
ORDER BY li.account_id
`;

Expand Down