cloud-ide-element 1.0.92 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,8 +9,8 @@ import * as i2$1 from '@angular/router';
|
|
|
9
9
|
import * as i1$1 from '@angular/common/http';
|
|
10
10
|
import { HttpClient, HttpEventType, HttpRequest } from '@angular/common/http';
|
|
11
11
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
12
|
+
import { generateStringFromObject, coreRoutesUrl, cidePath, hostManagerRoutesUrl } from 'cloud-ide-lms-model';
|
|
12
13
|
import { tap, catchError as catchError$1 } from 'rxjs/operators';
|
|
13
|
-
import { coreRoutesUrl, generateStringFromObject, cidePath, hostManagerRoutesUrl } from 'cloud-ide-lms-model';
|
|
14
14
|
|
|
15
15
|
class CapitalizePipe {
|
|
16
16
|
transform(value, capitalizationMethod) {
|
|
@@ -2910,7 +2910,10 @@ class CideEleFileManagerService {
|
|
|
2910
2910
|
const payload = {
|
|
2911
2911
|
cyfm_group_id: groupId
|
|
2912
2912
|
};
|
|
2913
|
-
|
|
2913
|
+
// Convert payload to string using generateStringFromObject
|
|
2914
|
+
const queryString = generateStringFromObject(payload);
|
|
2915
|
+
console.log('📝 [FileManagerService] Query string generated:', queryString);
|
|
2916
|
+
return this.http.get(`${this._baseUrl()}/group/${queryString}`).pipe(retry(2), catchError(this.handleError.bind(this)), takeUntilDestroyed(this.destroyRef));
|
|
2914
2917
|
}
|
|
2915
2918
|
/**
|
|
2916
2919
|
* Fetch and store files by group ID in service state
|