mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
chore: revert aggregation change
This commit is contained in:
@@ -62,8 +62,6 @@
|
||||
if (m.userEmail !== $user.email) return m.userEmail;
|
||||
})
|
||||
?.filter(Boolean) ?? [];
|
||||
let totalExtraMembers = data?.aggregationList;
|
||||
$: console.log(totalExtraMembers);
|
||||
let couponData: Partial<Coupon> = {
|
||||
code: null,
|
||||
status: null,
|
||||
|
||||
@@ -1,15 +1,10 @@
|
||||
import { Dependencies } from '$lib/constants';
|
||||
import { sdk } from '$lib/stores/sdk.js';
|
||||
import { Query } from '@appwrite.io/console';
|
||||
|
||||
export const load = async ({ depends, parent }) => {
|
||||
const { members, organization } = await parent();
|
||||
const { members } = await parent();
|
||||
|
||||
depends(Dependencies.ORGANIZATION);
|
||||
return {
|
||||
members,
|
||||
aggregationList: await sdk.forConsole.billing.listAggregation(organization?.$id, [
|
||||
Query.orderDesc('$createdAt')
|
||||
])
|
||||
members
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user