diff options
| author | Sebastien Castiel <sebastien@castiel.me> | 2024-01-24 11:12:55 -0500 |
|---|---|---|
| committer | Sebastien Castiel <sebastien@castiel.me> | 2024-01-24 11:12:55 -0500 |
| commit | 545cf75e9993f4dbc0653512d01b198f111998bf (patch) | |
| tree | 352c01040e4941a76b9ade71c5e65a80671ebcf1 /src/app/groups/add-group-by-url-button-actions.ts | |
| parent | 7956156d705297ba7c372577bb19c09517bbd444 (diff) | |
Join group by URL (Closes #55)
Diffstat (limited to 'src/app/groups/add-group-by-url-button-actions.ts')
| -rw-r--r-- | src/app/groups/add-group-by-url-button-actions.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/app/groups/add-group-by-url-button-actions.ts b/src/app/groups/add-group-by-url-button-actions.ts new file mode 100644 index 0000000..b6c5147 --- /dev/null +++ b/src/app/groups/add-group-by-url-button-actions.ts @@ -0,0 +1,8 @@ +'use server' + +import { getGroup } from '@/lib/api' + +export async function getGroupInfoAction(groupId: string) { + 'use server' + return getGroup(groupId) +} |
