Skip to content

Commit

Permalink
fixed not showing certificate if the admin has not logged in bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TharindaPrabhath committed Oct 2, 2021
1 parent 33eaacf commit c19c863
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 c19c863

Please sign in to comment.