forked from trent_larson/crowd-funder-for-time-pwa
Minor linting issue
This commit is contained in:
@@ -134,7 +134,8 @@ import { AppString } from "@/constants/app";
|
|||||||
import { accessToken, SimpleSigner } from "@/libs/crypto";
|
import { accessToken, SimpleSigner } from "@/libs/crypto";
|
||||||
import {
|
import {
|
||||||
AgreeVerifiableCredential,
|
AgreeVerifiableCredential,
|
||||||
GiveServerRecord, GiveVerifiableCredential,
|
GiveServerRecord,
|
||||||
|
GiveVerifiableCredential,
|
||||||
SCHEMA_ORG_CONTEXT,
|
SCHEMA_ORG_CONTEXT,
|
||||||
} from "@/libs/endorserServer";
|
} from "@/libs/endorserServer";
|
||||||
import * as didJwt from "did-jwt";
|
import * as didJwt from "did-jwt";
|
||||||
@@ -242,8 +243,7 @@ export default class ContactsView extends Vue {
|
|||||||
// Make claim
|
// Make claim
|
||||||
// I use clone here because otherwise it gets a Proxy object.
|
// I use clone here because otherwise it gets a Proxy object.
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
const origClaim: GiveVerifiableCredential =
|
const origClaim: GiveVerifiableCredential = R.clone(record.fullClaim);
|
||||||
R.clone(record.fullClaim);
|
|
||||||
if (record.fullClaim["@context"] == SCHEMA_ORG_CONTEXT) {
|
if (record.fullClaim["@context"] == SCHEMA_ORG_CONTEXT) {
|
||||||
delete origClaim["@context"];
|
delete origClaim["@context"];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user