Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
killergerbah committed Feb 27, 2024
1 parent 5851533 commit 02ba23e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions common/anki/anki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,7 @@ export class Anki {
if (data) {
if (gui || updateLast) {
const fileName = (await this._storeMediaFile(sanitizedName, data, ankiConnectUrl)).result;
this._appendField(
fields,
this.settingsProvider.imageField,
`<img src="${fileName}">`,
false
);
this._appendField(fields, this.settingsProvider.imageField, `<img src="${fileName}">`, false);
} else {
params.note['picture'] = {
filename: sanitizedName,
Expand Down

0 comments on commit 02ba23e

Please sign in to comment.