Compare commits
1 Commits
96ab998031
...
master
Author | SHA1 | Date | |
---|---|---|---|
0fdcefc0d5 |
@ -12,6 +12,6 @@ export async function createHaste(content: string): Promise<string> {
|
|||||||
body: content,
|
body: content,
|
||||||
});
|
});
|
||||||
|
|
||||||
const { id } = await response.json();
|
const { key } = await response.json();
|
||||||
return `${PASTE_URL}/${id}`;
|
return `${PASTE_URL}/${key}`;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user