fix pargar mande
This commit is contained in:
@@ -659,11 +659,11 @@ async function refreshWalletPanels() {
|
||||
])
|
||||
}
|
||||
|
||||
async function syncPargarWallet() {
|
||||
async function syncPargarWallet(force = false) {
|
||||
if (!userInfo.value?.id || !pargarWalletCanSync.value || pargarSyncLoading.value) return
|
||||
pargarSyncLoading.value = true
|
||||
try {
|
||||
const res = await syncCustomerWalletFromPargar(userInfo.value.id)
|
||||
const res = await syncCustomerWalletFromPargar(userInfo.value.id, force)
|
||||
const applied =
|
||||
res.ok ||
|
||||
(res.result?.documents?.acknowledged ?? 0) > 0 ||
|
||||
|
||||
Reference in New Issue
Block a user