pondersource / prejournal

An experimental bookkeeping tool that sits between source documents and journals
https://prejournal.org
MIT License
2 stars 2 forks source link

How to write and read back #128

Closed michielbdejong closed 2 years ago

michielbdejong commented 2 years ago

As described in https://github.com/pondersource/prejournal/issues/115#issuecomment-1212983347

michielbdejong commented 2 years ago

Ah, this is because we now have over 623 entries, and the 2nd and 3rd argument are actually minId and maxId (sorry I know it would be better practice to use offset & numPerPage here but we went for quick and easy). So I tried this locally and confirmed that:

curl -d'["Victor Emanouilov:Integrate time tracker","0","100"]' returns nothing, but: curl -d'["Victor Emanouilov:Integrate time tracker","0","1000000"]' returns the entry as expected.

kroky commented 2 years ago

That worked, thanks!