Skip to content

video 34 - seeking help: recipe not found #25

Answered by jumarko
jumarko asked this question in Q&A
Discussion options

You must be logged in to vote

After a long struggle and migrating to the peer library (datomic) I managed to fix the problem: jumarko/learn-pedestal#19

There were a couple of problems:

  • tx-data was not wrapped in a map (key :tx-data) but passed as a top-level arg
    • notice that this is actually the difference between the peer library (datomic.api) and the client library (datomic.client.api)
  • returning a bare ring response from the route handler instead of the whole context.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jacekschae
Comment options

Answer selected by jumarko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants