update image path & add user

This commit is contained in:
pakintada@gmail.com 2024-01-24 11:58:39 +07:00
parent dd532e7e7d
commit bdd3762cd1
6 changed files with 84 additions and 3 deletions

View file

@ -42,6 +42,7 @@ export class MaterialService {
): Promise<Observable<{
"materialId": number,
"name": string,
"nameEN": string,
"type": string
}[] | null>>{
console.log("getFullMaterialDetail", country, "where filename = ",filename, "department.short = ", this.department!);
@ -59,6 +60,7 @@ export class MaterialService {
return this._httpClient.get<{
"materialId": number,
"name": string,
"nameEN": string,
"type": string
}[]>(`${environment.api}/materials/full/${country}/${filename}`, {
withCredentials: true,