Skip to content

Commit

Permalink
temporary fix for ##1 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0hammedImran committed Jul 19, 2022
1 parent 8ed9bc7 commit 1f528b3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion import_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"imports": {
"$fresh/": "https://deno.land/x/[email protected]/",
"$zod/": "https://deno.land/x/[email protected]/",
"$denodb/": "https://deno.land/x/denodb@v1.0.40/",
"$denodb/": "https://raw.githubusercontent.com/joeldesante/denodb/master/",
"preact": "https://esm.sh/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/[email protected][email protected]"
Expand Down
2 changes: 1 addition & 1 deletion routes/api/todos/[id].ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { HandlerContext } from '$fresh/server.ts';
import { Todo } from '../../../Models/Todo.ts';
import { Todo } from '../../../models/Todo.ts';
import { db } from '../../../utils/db.ts';
import * as zod from 'https://deno.land/x/[email protected]/mod.ts';

Expand Down
4 changes: 2 additions & 2 deletions utils/db.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Database, PostgresConnector } from 'https://deno.land/x/denodb@v1.0.40/mod.ts';
import { Todo } from "../Models/Todo.ts";
import { Database, PostgresConnector } from '$denodb/mod.ts';
import { Todo } from "../models/Todo.ts";

const connection = new PostgresConnector({
host: 'localhost',
Expand Down

0 comments on commit 1f528b3

Please sign in to comment.