api : add api
Deskripsi: - add gorup - add position - village No issue
This commit is contained in:
5
src/app/api/group/get/route.ts
Normal file
5
src/app/api/group/get/route.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { apiGroup } from "@/module/group";
|
||||
|
||||
export async function GET(req: Request) {
|
||||
return apiGroup(req, "GET")
|
||||
}
|
||||
5
src/app/api/group/post/route.ts
Normal file
5
src/app/api/group/post/route.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { apiGroup } from "@/module/group";
|
||||
|
||||
export async function POST(req: Request) {
|
||||
return apiGroup(req, "POST")
|
||||
}
|
||||
Reference in New Issue
Block a user