Skip to content

Commit d3fa44a

Browse files
fix(Deps): fix import and lint issue
1 parent 122bcf1 commit d3fa44a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/helpers/base64.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { type BlockcertsV3Display } from '../../../cert-verifier-js';
1+
import { type BlockcertsV3Display } from '@blockcerts/cert-verifier-js';
22

33
const toBase64 = (textContent: string): string => {
44
return window.btoa(textContent);
@@ -8,8 +8,6 @@ export function getBase64String (display: BlockcertsV3Display): string {
88
if (display.contentEncoding !== 'base64') {
99
return '';
1010
}
11-
// eslint error on Travis only, https://app.travis-ci.com/github/blockchain-certificates/blockcerts-verifier/jobs/596641040
12-
// eslint-disable-next-line @typescript-eslint/restrict-template-expressions
1311
return `data:${display.contentMediaType};${display.contentEncoding},${display.content}`;
1412
}
1513

0 commit comments

Comments
 (0)