Skip to content

Commit

Permalink
Fixing for test case
Browse files Browse the repository at this point in the history
  • Loading branch information
ckat-1 committed Oct 29, 2024
1 parent 2063a1b commit 7ee5682
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/server/api/routers/admin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { club } from '@src/server/db/schema/club';
import { userMetadataToClubs } from '@src/server/db/schema/users';
import { type DateRange } from 'react-day-picker';
import { admin, carousel } from '@src/server/db/schema/admin';
import role from '@src/models/role';


function isDateRange(value: unknown): value is DateRange {
return Boolean(value && typeof value === 'object' && 'from' in value);
Expand Down
3 changes: 1 addition & 2 deletions src/utils/formSchemas.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { selectContact } from '@src/server/db/models';
import { admin } from '@src/server/db/schema/admin';

Check failure on line 1 in src/utils/formSchemas.ts

View workflow job for this annotation

GitHub Actions / check-formatting

src/utils/formSchemas.ts not formatted correctly
import { z } from 'zod';
import { contactSchema } from './contact';

Expand Down

0 comments on commit 7ee5682

Please sign in to comment.