beuaah
This commit is contained in:
parent
0fb4513b4b
commit
0114214995
2 changed files with 5 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ export async function displayStudentProfile() {
|
|||
const _uid = decoded.uid;
|
||||
|
||||
// You have to write a request to fetch your informations
|
||||
// const request_result = authedAPIRequest(`/api/students/${_uid}`, {method: "GET"});
|
||||
const request_result = await authedAPIRequest(`/students/${_uid}`, {method: "GET"});
|
||||
|
||||
if (request_result === null) {
|
||||
createAlert(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue