Skip to content

Commit

Permalink
Merge pull request ZennerIoT#76 from bolte-17/master
Browse files Browse the repository at this point in the history
Fix documentation typo for history :render_struct option
  • Loading branch information
narrowtux authored Aug 18, 2021
2 parents e5d6ab4 + c20a7ff commit 5f4f169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/repo/repo.ex
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ defmodule ExAudit.Repo do
Gathers the version history for the given struct, ordered by the time the changes
happened from newest to oldest.
### Options
* `:render_structs` if true, renders the _resulting_ struct of the patch for every version in its history.
* `:render_struct` if true, renders the _resulting_ struct of the patch for every version in its history.
This will shift the ids of the versions one down, so visualisations are correct and corresponding "Revert"
buttons revert the struct back to the visualized state.
Will append an additional version that contains the oldest ID and the oldest struct known. In most cases, the
Expand Down

0 comments on commit 5f4f169

Please sign in to comment.