Skip to content

Commit

Permalink
fix: wrong return type
Browse files Browse the repository at this point in the history
  • Loading branch information
andyv09 committed Mar 24, 2023
1 parent 60defab commit 60fc5a5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/connector/src/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
import { Result } from '@blockchain-lab-um/utils';
import {
DIDResolutionResult,
VerifiableCredential,
VerifiablePresentation,
W3CVerifiableCredential,
} from '@veramo/core';
Expand Down Expand Up @@ -261,7 +262,7 @@ export async function resolveDID(
export async function createVC(
this: MetaMaskSSISnap,
params: CreateVCRequestParams
): Promise<Result<VerifiablePresentation>> {
): Promise<Result<VerifiableCredential>> {
return sendSnapMethod(
{
method: 'createVC',
Expand Down

0 comments on commit 60fc5a5

Please sign in to comment.