Skip to content

Commit

Permalink
Merge pull request #10 from TharindaPrabhath/frontend-day-09-stepper
Browse files Browse the repository at this point in the history
fixed not showing certificate if the admin has not logged in bug
  • Loading branch information
TharindaPrabhath authored Oct 2, 2021
2 parents 0645dbc + c19c863 commit 0a556aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/requestHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export async function validateCertificate(id: string) {
}

export function fetchCertificate(id: string){
return axiosInstance().get(requests.fetchCertificate, {params: {
return axios.get(requests.fetchCertificate, {params: {
id: id
}})
}
Expand Down

0 comments on commit 0a556aa

Please sign in to comment.