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