feat: user certificate verification backend and UI

This commit is contained in:
swve 2025-07-20 10:37:48 +02:00
parent f609c50760
commit f01f7efb06
5 changed files with 389 additions and 1 deletions

View file

@ -71,4 +71,20 @@ export async function getUserCertificates(
)
const res = await getResponseMetadata(result)
return res
}
export async function getCertificateByUuid(
user_certification_uuid: string
) {
const result = await fetch(
`${getAPIUrl()}certifications/certificate/${user_certification_uuid}`,
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
}
)
const res = await getResponseMetadata(result)
return res
}