@@ -95,3 +95,13 @@ export async function saveEvent(website_id, session_id, url, event_type, event_v
}),
);
}
export async function getAccount(username = '') {
return runQuery(
prisma.account.findOne({
where: {
username,
},
The note is not visible to the blocked user.