Просмотр исходного кода

Remove not needed populate field since aggregation pipeline is used

arvid-e 5 месяцев назад
Родитель
Сommit
9a7310edcb
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      apps/app/src/stores/recent-activity.ts

+ 0 - 1
apps/app/src/stores/recent-activity.ts

@@ -21,7 +21,6 @@ export const useSWRxRecentActivity = (
     const promise = apiv3Get<UserActivitiesResult>(endpoint, {
     const promise = apiv3Get<UserActivitiesResult>(endpoint, {
       limit: limitParam,
       limit: limitParam,
       offset: offsetParam,
       offset: offsetParam,
-      populate: 'target',
     });
     });
 
 
     return promise.then(result => result.data.serializedPaginationResult);
     return promise.then(result => result.data.serializedPaginationResult);