Skip to content

Commit

Permalink
fix: invalid constructor
Browse files Browse the repository at this point in the history
/spend 2m
  • Loading branch information
nico-i committed Mar 31, 2024
1 parent d6a4808 commit 077479a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# Changelog

## [1.10.0](https://github.com/nico-i/cv-data/compare/v1.9.0...v1.10.0) (2024-03-31)


### Features

* better image error handling ([c213861](https://github.com/nico-i/cv-data/commit/c213861ffc9ef31b576605e7313f3fa75c2374a0))

## [1.9.0](https://github.com/nico-i/cv-data/compare/v1.8.0...v1.9.0) (2024-03-31)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.10.0",
"version": "1.9.0",
"name": "@nico-i/cv-data",
"type": "module",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/entities/info/repo/strapi/strapi-info-repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class StrapiInfoRepo implements InfoRepo {
return new Info(
res.info.data.id,
new Locale(infoLocale),
new Image(new URL(url), alternativeText, width, height),
new Image(new URL(url), width, height, alternativeText),
address,
occupation,
name,
Expand Down

0 comments on commit 077479a

Please sign in to comment.