This commit is contained in:
Namrata Jha
2021-12-24 10:21:02 +00:00
committed by GitHub
parent 4d762a4bc3
commit 6a5e08c48d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ function deleteVersions(input) {
return rxjs_1.throwError('No token found'); return rxjs_1.throwError('No token found');
} }
if (!input.checkInput()) { if (!input.checkInput()) {
return rxjs_1.throwError('Invlaid input combination'); return rxjs_1.throwError('Invalid input combination');
} }
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) { if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {
console.log('Number of old versions to delete input is 0 or less, no versions will be deleted'); console.log('Number of old versions to delete input is 0 or less, no versions will be deleted');
+1 -1
View File
@@ -134,7 +134,7 @@ export function deleteVersions(input: Input): Observable<boolean> {
} }
if (!input.checkInput()) { if (!input.checkInput()) {
return throwError('Invlaid input combination') return throwError('Invalid input combination')
} }
if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) { if (input.numOldVersionsToDelete <= 0 && input.minVersionsToKeep < 0) {