improved recruiter controls for applications
This commit is contained in:
@@ -86,11 +86,12 @@ export async function postApplication(val: any) {
|
||||
let out = {
|
||||
"App": val,
|
||||
}
|
||||
await fetch(`http://${addr}/application`, {
|
||||
const res = await fetch(`http://${addr}/application`, {
|
||||
method: 'POST',
|
||||
headers: { 'Content-Type': 'application/json' },
|
||||
body: JSON.stringify(out),
|
||||
})
|
||||
return res;
|
||||
}
|
||||
|
||||
export async function postChatMessage(message: any, post_id: number) {
|
||||
|
||||
Reference in New Issue
Block a user