aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/groups/actions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/groups/actions.ts')
-rw-r--r--src/app/groups/actions.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/groups/actions.ts b/src/app/groups/actions.ts
new file mode 100644
index 0000000..2d07004
--- /dev/null
+++ b/src/app/groups/actions.ts
@@ -0,0 +1,7 @@
+'use server'
+import { getGroups } from "@/lib/api"
+
+export async function getGroupsAction(groupIds: string[]) {
+ 'use server'
+ return getGroups(groupIds)
+}