Update src/app/common/hastebin.ts
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 3m48s

This commit is contained in:
Lee 2024-11-28 02:00:44 +00:00
parent 96ab998031
commit 0fdcefc0d5

View File

@ -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}`;
}