Commit 0633da3
committed
fix: Return promise in put
This should probably be covered by the test suite in the future,
however the problem was that when the writing of the changes takes time
micro-analytics will not wait for it to finish. In the tests for
micro-analytics were we mock out flat-file-db and add latency this
breaks several tests.1 parent 354f3ac commit 0633da3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments