Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
fibonacci998 committed Nov 7, 2024
1 parent cb2d703 commit 1fdd7db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/services/evm/erc721_media_handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,9 @@ export class Erc721MediaHandler {
static async getContentType(url: string): Promise<string> {
const fromGithub = url.startsWith('https://github.com');
const formatedUrl = fromGithub ? `${url}?raw=true` : url;
return axiosClient.head(formatedUrl).then((response) => response.headers['content-type']);
return axiosClient
.head(formatedUrl)
.then((response) => response.headers['content-type']);
}

/**
Expand Down

0 comments on commit 1fdd7db

Please sign in to comment.