changes
This commit is contained in:
@@ -223,7 +223,7 @@ const {
|
||||
$resetNull,
|
||||
$findapi,
|
||||
$insertapi,
|
||||
$updateapi,
|
||||
$patchapi,
|
||||
$remove,
|
||||
$deleteapi,
|
||||
$empty,
|
||||
@@ -315,7 +315,7 @@ async function update() {
|
||||
data.link = arr1.length === 0 ? null : arr1;
|
||||
let api = $findapi("useraction");
|
||||
record = data.id
|
||||
? await $updateapi("useraction", { data, values: api.params.values })
|
||||
? await $patchapi("useraction", { data, values: api.params.values })
|
||||
: await $insertapi("useraction", { data, values: api.params.values });
|
||||
getValue();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user