improved recruiter controls for applications

This commit is contained in:
2025-09-02 12:11:58 -04:00
parent e43117b64f
commit caa6ffd41a
5 changed files with 52 additions and 60 deletions

View File

@@ -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) {