Browse Source

Minor linting issue

kb/add-usage-guide
Matthew Aaron Raymer 2 years ago
parent
commit
59e1311d23
  1. 6
      src/views/ContactAmountsView.vue

6
src/views/ContactAmountsView.vue

@ -134,7 +134,8 @@ import { AppString } from "@/constants/app";
import { accessToken, SimpleSigner } from "@/libs/crypto";
import {
AgreeVerifiableCredential,
GiveServerRecord, GiveVerifiableCredential,
GiveServerRecord,
GiveVerifiableCredential,
SCHEMA_ORG_CONTEXT,
} from "@/libs/endorserServer";
import * as didJwt from "did-jwt";
@ -242,8 +243,7 @@ export default class ContactsView extends Vue {
// Make claim
// I use clone here because otherwise it gets a Proxy object.
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const origClaim: GiveVerifiableCredential =
R.clone(record.fullClaim);
const origClaim: GiveVerifiableCredential = R.clone(record.fullClaim);
if (record.fullClaim["@context"] == SCHEMA_ORG_CONTEXT) {
delete origClaim["@context"];
}

Loading…
Cancel
Save