mirror of
https://github.com/spliit-app/spliit.git
synced 2026-03-07 12:56:12 +01:00
Join group by URL (Closes #55)
This commit is contained in:
8
src/app/groups/add-group-by-url-button-actions.ts
Normal file
8
src/app/groups/add-group-by-url-button-actions.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
'use server'
|
||||
|
||||
import { getGroup } from '@/lib/api'
|
||||
|
||||
export async function getGroupInfoAction(groupId: string) {
|
||||
'use server'
|
||||
return getGroup(groupId)
|
||||
}
|
||||
Reference in New Issue
Block a user