diff --git a/src/mapper/custom/date-to-number.mapper.ts b/src/mapper/custom/date-to-number.mapper.ts index 85b5677f4..8304d2935 100644 --- a/src/mapper/custom/date-to-number.mapper.ts +++ b/src/mapper/custom/date-to-number.mapper.ts @@ -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') } } diff --git a/src/mapper/custom/date-to-string.mapper.ts b/src/mapper/custom/date-to-string.mapper.ts index b900b52aa..0aee64502 100644 --- a/src/mapper/custom/date-to-string.mapper.ts +++ b/src/mapper/custom/date-to-string.mapper.ts @@ -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') } }