monkey-front-core 0.0.311 → 0.0.313

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.
@@ -3672,19 +3672,17 @@ class MonkeyEcxTokenStorageService {
3672
3672
  }
3673
3673
  console.log('6666');
3674
3674
  const config = await monkeyecxConfigService.config()
3675
- .pipe(first((val) => {
3676
- console.log('val');
3677
- console.log(val);
3678
- return !!val && JSON.stringify(val) !== '{}';
3679
- }))
3680
- .toPromise();
3675
+ .pipe(take(1)).toPromise();
3681
3676
  console.log('7777');
3677
+ const handledData = {
3678
+ ...data
3679
+ };
3682
3680
  if (data && !data?.program && config?.program) {
3683
- data.program = config?.program?.token;
3681
+ handledData.program = config?.program?.token;
3684
3682
  }
3685
- console.log('data');
3686
- console.log(data);
3687
- return data;
3683
+ console.log('handledData');
3684
+ console.log(handledData);
3685
+ return handledData;
3688
3686
  }
3689
3687
  catch (e) {
3690
3688
  console.log('=======');