fixing popup view profile

This commit is contained in:
Warunee Tamkoo 2024-05-15 14:36:56 +07:00
parent dcdcb6452a
commit 45760996be

View file

@ -129,7 +129,7 @@ async function fetchInformation(id: string) {
async function fetchProfileGov(id: string) {
showLoader();
await http
.get(config.API.profileNewGovernmentById(id))
.get(config.API.profileNewGovernmentById(id, ""))
.then((res) => {
const data = res.data.result;
goverment.oc = data.org !== "" ? data.org : "-";