rez_core 3.1.195 → 3.1.196
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.
package/package.json
CHANGED
|
@@ -210,14 +210,6 @@ export class StageGroupService extends EntityServiceImpl {
|
|
|
210
210
|
userId: number,
|
|
211
211
|
loggedInUser: UserData,
|
|
212
212
|
): Promise<any> {
|
|
213
|
-
// const user = await this.dataSource.query(
|
|
214
|
-
// `SELECT eth_user_profile.name AS created_by_name,
|
|
215
|
-
// eth_user_profile.profile_image AS profile_image
|
|
216
|
-
// FROM eth_user_profile
|
|
217
|
-
// WHERE eth_user_profile.id = ?;`,
|
|
218
|
-
// [userId],
|
|
219
|
-
// );
|
|
220
|
-
|
|
221
213
|
let user: any = {};
|
|
222
214
|
|
|
223
215
|
try {
|
|
@@ -239,13 +231,12 @@ export class StageGroupService extends EntityServiceImpl {
|
|
|
239
231
|
);
|
|
240
232
|
|
|
241
233
|
console.log('✅ Internal Entity API response:', response.data);
|
|
242
|
-
user = response.data || {};
|
|
243
234
|
user.created_by_name = response.data.name;
|
|
244
235
|
user.profile = response.data.profile_image;
|
|
245
236
|
} catch (error) {
|
|
246
237
|
console.error('⚠️ Internal Entity API call failed:', error.message);
|
|
247
238
|
}
|
|
248
|
-
return
|
|
239
|
+
return user;
|
|
249
240
|
}
|
|
250
241
|
|
|
251
242
|
async calculateTimeSpent(
|