Skip to content

Commit

Permalink
Merge pull request #344 from jthomerson/fix-typos
Browse files Browse the repository at this point in the history
refactor(typo): fix some typos
  • Loading branch information
michaelwittwer authored Apr 22, 2021
2 parents a5e1c50 + 4fac8eb commit 1ff9814
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/mapper/custom/date-to-number.mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function dateFromDb(attributeValue: NumberAttribute): Date {
if (attributeValue.N) {
return new Date(parseInt(attributeValue.N, 10))
} else {
throw new Error('there is no N(umber) value defiend on given attribute value')
throw new Error('there is no N(umber) value defined on given attribute value')
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/mapper/custom/date-to-string.mapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function dateFromDb(attributeValue: StringAttribute): Date {
}
return date
} else {
throw new Error('there is no S(tring) value defiend on given attribute value')
throw new Error('there is no S(tring) value defined on given attribute value')
}
}

Expand Down

0 comments on commit 1ff9814

Please sign in to comment.