add medreport schema

This commit is contained in:
Danel Kungla
2025-07-09 13:31:37 +03:00
parent 9371ff7710
commit d9198a8a12
73 changed files with 420 additions and 270 deletions

View File

@@ -55,12 +55,11 @@ export function SignInMethodsContainer(props: {
}
try {
const { data: hasConsentPersonalData } = await client.rpc(
'has_consent_personal_data',
{
const { data: hasConsentPersonalData } = await client
.schema('medreport')
.rpc('has_consent_personal_data', {
account_id: userId,
},
);
});
if (hasConsentPersonalData) {
router.replace(props.paths.returnPath);