Skip to content

Commit 12f57ac

Browse files
committed
fix: imports
1 parent 00005d4 commit 12f57ac

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

src/db.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { drizzle, type PostgresJsDatabase } from 'drizzle-orm/postgres-js';
22
import postgres, { type Sql } from 'postgres';
33
import invariant from 'tiny-invariant';
4-
import * as schema from './schema';
4+
import * as schema from './schema/index.js';
55

66
let drizzleClient: PostgresJsDatabase<typeof schema>;
77
let pg: Sql<any>;

src/integration.server.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { eq, and } from 'drizzle-orm';
2-
import { drizzleClient } from './db.server';
3-
import { ttnIntegration } from './schema';
4-
// import { tottnIntegration } from './types';
2+
import { drizzleClient } from './db.server.js';
3+
import { ttnIntegration } from './schema/index.js';
54

65
export const integrationsRepository = {
76
async findByDeviceId(deviceId: string) {

0 commit comments

Comments
 (0)