V 1.1.0 - Bearbeiten bei Liste geht, auch Löschen.
This commit is contained in:
@@ -40,7 +40,6 @@ export function getCollections() {
|
||||
|
||||
export const update_pflux = async(sn, doc) => {
|
||||
try {
|
||||
let r = await prop_fluxCollection.findOne({_id: sn})
|
||||
await prop_fluxCollection.updateOne({_id: sn},{ $set: { 'chip': doc}})
|
||||
return {"error": null}
|
||||
} catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user