parent
							
								
									7aecf15f94
								
							
						
					
					
						commit
						fa554f1684
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		|  | @ -570,7 +570,7 @@ export function upload(file: File, folder?: any, name?: string): Promise<Misskey | |||
| 			const xhr = new XMLHttpRequest(); | ||||
| 			xhr.open('POST', apiUrl + '/drive/files/create', true); | ||||
| 			xhr.onload = (ev) => { | ||||
| 				if (ev.target == null || ev.target.response == null) { | ||||
| 				if (xhr.status !== 200 || ev.target == null || ev.target.response == null) { | ||||
| 					// TODO: 消すのではなくて再送できるようにしたい
 | ||||
| 					uploads.value = uploads.value.filter(x => x.id != id); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue