1 Commits

Author SHA1 Message Date
Lee
0fdcefc0d5 Update src/app/common/hastebin.ts
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Failing after 3m48s
2024-11-28 02:00:44 +00:00

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