Skip to content
Snippets Groups Projects
Commit 1da761b5 authored by Fatih20's avatar Fatih20
Browse files

Add username to get gym.

parent e5e25c01
Branches
Tags
No related merge requests found
......@@ -7,7 +7,11 @@ import {
GymApplicationSent,
} from "../validationSchema/gymApplication";
export async function getGymApplication(): Promise<GymApplicationReturned[]> {
export async function getGymApplication({
username,
}: {
username: string;
}): Promise<GymApplicationReturned[]> {
// const res = (await axios.get(`${config.NODE_JS_API}/api/job/${username}`, header));
const myPromise = new Promise<GymApplicationFetched[]>(function (myResolve) {
myResolve([
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment