cignium-hypermedia-client
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -56,3 +56,3 @@ { | ||
}, | ||
"version": "1.13.0" | ||
"version": "1.13.1" | ||
} |
@@ -117,4 +117,9 @@ import { request } from './http' | ||
const data = state.get().drafts[href] | ||
requestResource({ data, href, method: 'post', resourceKey: 'current' }) | ||
state.get().drafts.remove(href) | ||
requestResource({ | ||
data, | ||
href, | ||
method: 'post', | ||
resourceKey: 'current', | ||
onDone: () => state.get().drafts.remove(href), | ||
}) | ||
} |
Sorry, the diff of this file is too big to display
531215
2758