forked from baron/baron-sso
dev 병합 code check 수정
This commit is contained in:
@@ -444,10 +444,7 @@ export async function fetchDeveloperRequests(status?: string) {
|
||||
return data;
|
||||
}
|
||||
|
||||
export async function approveDeveloperRequest(
|
||||
id: number,
|
||||
adminNotes: string,
|
||||
) {
|
||||
export async function approveDeveloperRequest(id: number, adminNotes: string) {
|
||||
const { data } = await apiClient.post<{ status: string }>(
|
||||
`/dev/developer-request/${id}/approve`,
|
||||
{ adminNotes },
|
||||
@@ -455,10 +452,7 @@ export async function approveDeveloperRequest(
|
||||
return data;
|
||||
}
|
||||
|
||||
export async function rejectDeveloperRequest(
|
||||
id: number,
|
||||
adminNotes: string,
|
||||
) {
|
||||
export async function rejectDeveloperRequest(id: number, adminNotes: string) {
|
||||
const { data } = await apiClient.post<{ status: string }>(
|
||||
`/dev/developer-request/${id}/reject`,
|
||||
{ adminNotes },
|
||||
|
||||
Reference in New Issue
Block a user