Removed some forgotten debug printing
This commit is contained in:
parent
3366dc57bc
commit
b2095e98fb
1 changed files with 0 additions and 2 deletions
|
@ -24,9 +24,7 @@ export async function getPosts(): Promise<Post[]> {
|
||||||
|
|
||||||
export async function getPost(id: string): Promise<Post> {
|
export async function getPost(id: string): Promise<Post> {
|
||||||
const res = await fetch(`/api/posts/${id}`);
|
const res = await fetch(`/api/posts/${id}`);
|
||||||
console.log(res)
|
|
||||||
const data = await res.json();
|
const data = await res.json();
|
||||||
console.log(data)
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue