Skip to content

Commit

Permalink
chore: update 1pux importer
Browse files Browse the repository at this point in the history
  • Loading branch information
duchunter committed Feb 24, 2024
1 parent 074c9a4 commit 719e887
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ type DataFormat = {
menu?: string
creditCardType?: string
creditCardNumber?: string
email?: {
email_address: string
}
}
}[]
}[]
Expand Down Expand Up @@ -104,7 +107,6 @@ export class OnePassword1PuxImporter extends BaseImporter implements Importer {
const cipher = this.initLoginCipher()
cipher.name = item.overview.title
cipher.notes = item.details.notesPlain
this.processKvp(cipher, 'subtitle', item.overview.subtitle)
this.processKvp(cipher, 'tags', item.overview.tags?.join(', '))

// Parse by category
Expand Down Expand Up @@ -231,6 +233,7 @@ export class OnePassword1PuxImporter extends BaseImporter implements Importer {
|| field.value.creditCardType
|| field.value.creditCardNumber
|| field.value.concealed
|| field.value.email?.email_address
let type = FieldType.Text
if (field.value.date) {
const date = new Date(field.value.date * 1000)
Expand Down

0 comments on commit 719e887

Please sign in to comment.