36 fix logbook edit view error (#37)

* fixing log view edit error

* fixing log view edit error

* fixing log view edit error

* fixing log view edit error
This commit was merged in pull request #37.
This commit is contained in:
2025-02-03 01:51:42 +00:00
committed by GitHub
parent 5be32d0ce1
commit 02482a4c32
6 changed files with 53 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ const LogForm: React.FC<ILogFormProps> = ({
? { headers: { Authorization: await getAccessToken() } }
: {};
const response: AxiosResponse = await httpClient.get(
`api/logs/${entryId}`,
`api/logs/log/${entryId}`,
config
);
const entry = response.data;

View File

@@ -67,7 +67,6 @@ const SiteNav: React.FC<unknown> = () => {
}
};
const getUserPhoto = async (accessToken: string): Promise<string> => {
console.log(accessToken)
try {
const response: AxiosResponse = await httpClient.get(`api/userPhoto`, {
headers: {