prettier fix

This commit is contained in:
Danel Kungla
2025-09-19 17:22:36 +03:00
parent efa94b3322
commit 0c2cfe6d18
509 changed files with 17988 additions and 9920 deletions

View File

@@ -1,13 +1,13 @@
'use server';
import { getLogger } from '@kit/shared/logger';
import {
getOpenResponses,
getOtherResponses,
getUserDoneResponses,
getUserInProgressResponses,
} from '@kit/doctor/services/doctor-analysis.service';
import { getLogger } from '@kit/shared/logger';
import { doctorAction } from '../utils/doctor-action';
export const getUserDoneResponsesAction = doctorAction(

View File

@@ -1,6 +1,6 @@
import z from 'zod';
import { Database } from '@kit/supabase/database';
import z from 'zod';
export const doctorJobSelectSchema = z.object({
userId: z.uuid(),

View File

@@ -9,9 +9,7 @@ import { Database } from '@kit/supabase/database';
*/
export async function isDoctor(client: SupabaseClient<Database>) {
try {
const { data, error } = await client
.schema('medreport')
.rpc('is_doctor');
const { data, error } = await client.schema('medreport').rpc('is_doctor');
if (error) {
throw error;