diff --git a/app/src/main/java/es/verdnatura/presentation/view/feature/historicoshelvinglog/fragment/shelvingLogFragment.kt b/app/src/main/java/es/verdnatura/presentation/view/feature/historicoshelvinglog/fragment/shelvingLogFragment.kt index fe96ac2c..3e11175f 100644 --- a/app/src/main/java/es/verdnatura/presentation/view/feature/historicoshelvinglog/fragment/shelvingLogFragment.kt +++ b/app/src/main/java/es/verdnatura/presentation/view/feature/historicoshelvinglog/fragment/shelvingLogFragment.kt @@ -6,6 +6,7 @@ import androidx.recyclerview.widget.LinearLayoutManager import com.google.gson.Gson import es.verdnatura.R import es.verdnatura.databinding.FragmentShelvinglogBinding +import es.verdnatura.domain.ConstAndValues.TOKENMULTIMEDIA import es.verdnatura.domain.notNull import es.verdnatura.presentation.base.BaseFragment import es.verdnatura.presentation.common.itemScanValue @@ -177,7 +178,14 @@ class ShelvingLogFragment( Gson().toJson( mutableMapOf( "entryPoint" to param, - "web" to "https://grafana.verdnatura.es/d/ce4b8ymvex4owa?${if (isitemFkScanned) "var-itemFk=$param" else "var-shelvingCode=$itemScan"}" + "web" to "https://grafana.verdnatura.es/d/ce4b8ymvex4owa?${ + if (isitemFkScanned) "var-itemFk=$param&var-vnToken=${ + mobileApplication.dataStoreApp.readDataStoreKey( + TOKENMULTIMEDIA + ) + }" + else "var-shelvingCode=$itemScan" + }" ) ) } else {