mirror of
https://github.com/kou029w/quot.git
synced 2025-01-19 00:18:09 +00:00
fixed type
This commit is contained in:
parent
87c5021a80
commit
34f4d26c84
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ async function updatePage(
|
|||
return res.ok;
|
||||
}
|
||||
|
||||
async function fetchPage(id: number): Promise<Pages.RequestContentPage> {
|
||||
async function fetchPage(id: number): Promise<Pages.ResponsePage> {
|
||||
const res = await fetch(
|
||||
new URL(`/pages?id=eq.${id}`, import.meta.env.QUOT_API_URL)
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue