diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2023-12-11 10:26:13 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2023-12-11 10:26:13 -0500 |
| commit | 69fa008ea4e1a167e6076a69869388bf012d24b1 (patch) | |
| tree | 673fe0d20df27c59292bec8df38cff1bffd41947 /src/app/groups/actions.ts | |
| parent | c504a773384bdaeddf6080ce749ecd39e12b24e5 (diff) | |
Tiny adjustments
Diffstat (limited to 'src/app/groups/actions.ts')
| -rw-r--r-- | src/app/groups/actions.ts | 7 |
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) +} |
