mirror of
https://github.com/danbulant/Portfolio
synced 2026-05-24 12:35:31 +00:00
fix: reset candidate password function
This commit is contained in:
parent
2d7ed46cf3
commit
546402680e
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ export const createCandidate = async (data: CreateCandidate): Promise<CreateCand
|
|||
}
|
||||
|
||||
// Reset candidate password /admin/candidate/{id}/reset_password
|
||||
export const resetCandidatePassword = async (id: number): Promise<string> => {
|
||||
export const resetCandidatePassword = async (id: number): Promise<CreateCandidateLogin> => {
|
||||
try {
|
||||
const res = await axios.post(API_URL + '/admin/candidate/' + id + '/reset_password',
|
||||
{},
|
||||
|
|
|
|||
Loading…
Reference in a new issue