Skip to content

Commit

Permalink
Revert "WIP(ApImageService.ts): image.urlgetApHrefNullable()に通…
Browse files Browse the repository at this point in the history
…すかどうか悩んでいる"

This reverts commit aeefb84.
  • Loading branch information
okayurisotto committed Jul 2, 2023
1 parent 785a5f6 commit 41fe1b6
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ export class ApImageService {
throw new Error('invalid image: url not privided');
}

// TODO?
// const url = getOneApHrefNullable(image.url);
if (typeof image.url !== 'string') {
throw new Error('invalid image: unexpected type of url: ' + JSON.stringify(image.url));
}
Expand Down

0 comments on commit 41fe1b6

Please sign in to comment.