(d)
| 21114 | }) |
| 21115 | .then(response => response.json()) |
| 21116 | .then(data => { |
| 21117 | if (data.success) { |
| 21118 | showFileSuccess(`Uploaded ${files.length} file(s)`); |
| 21119 | refreshFiles(); |
| 21120 | } else { |
| 21121 | showFileError(`Upload failed: ${data.error}`); |