mirror of
https://github.com/rikkaneko/paste.git
synced 2025-06-06 16:45:41 +00:00
Fix typo
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
72c965787f
commit
bb521d62eb
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,7 @@ $(function () {
|
|||
throw new Error(`Unable to upload paste: ${(await res1.text()) || `${res.status} ${res.statusText}`}`);
|
||||
}
|
||||
// Finialize the paste
|
||||
const res2 = await fetch(`${ENDPOINT}/large_upload/complete/${create_result.uuid}`, {
|
||||
const res2 = await fetch(`${ENDPOINT}/v2/large_upload/complete/${create_result.uuid}`, {
|
||||
method: 'POST',
|
||||
});
|
||||
if (res2.ok) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue