Skip to content

Commit

Permalink
docs: correct example
Browse files Browse the repository at this point in the history
  • Loading branch information
pawel-id committed Mar 4, 2024
1 parent 2f80de2 commit 5a7d708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ Take a look at the following example showing default behavior:
import Bir from 'bir1'
const bir = new Bir()
console.log(
await birLegacy.report({
await bir.report({
regon: '010058960',
report: 'BIR11OsPrawna',
})
Expand All @@ -242,7 +242,7 @@ import Bir from 'bir1'
import { modern } from 'bir1/normalize'
const bir = new Bir({ normalizeFn: modern })
console.log(
await birLegacy.report({
await bir.report({
regon: '010058960',
report: 'BIR11OsPrawna',
})
Expand Down

0 comments on commit 5a7d708

Please sign in to comment.