From f4cf46d288ef14b8506e4d320cccd3f2da9a4170 Mon Sep 17 00:00:00 2001 From: "Dusan Mijatovic (PC2022)" Date: Wed, 22 Nov 2023 22:45:34 +0100 Subject: [PATCH] fix: include public profile flag into public_profile rpc --- database/011-create-account-table.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/011-create-account-table.sql b/database/011-create-account-table.sql index a43b3b2b1..86e033bc0 100644 --- a/database/011-create-account-table.sql +++ b/database/011-create-account-table.sql @@ -143,5 +143,5 @@ FROM INNER JOIN account ON login_for_account.account = account.id WHERE - login_for_account.provider='orcid' + login_for_account.provider='orcid' AND account.public_orcid_profile = TRUE $$;