| @@ -1125,11 +1125,12 @@ function throwIfSourceInvalid() { | ||
| 1125 | 1125 | * @returns {Promise<void>} |
| 1126 | 1126 | */ |
| 1127 | 1127 | async function deleteVectorItems(collectionId, hashes) { |
| 1128 | + const args = await getAdditionalArgs([]); | |
| 1128 | 1129 | const response = await fetch('/api/vector/delete', { |
| 1129 | 1130 | method: 'POST', |
| 1130 | 1131 | headers: getRequestHeaders(), |
| 1131 | 1132 | body: JSON.stringify({ |
| 1132 | 1133 | ...getVectorsRequestBody(args), |
| 1133 | 1134 | collectionId: collectionId, |
| 1134 | 1135 | hashes: hashes, |
| 1135 | 1136 | source: settings.source, |