Skip to content

Commit

Permalink
fix(hashicorp-vault-signing-manager): use proper return type for `sig…
Browse files Browse the repository at this point in the history
…nData`
  • Loading branch information
monitz87 committed May 31, 2022
1 parent 2906b08 commit 96b0eeb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { HexString } from '@polkadot/util/types';
import fetch from 'cross-fetch';
import { flatten, map } from 'lodash';

Expand Down Expand Up @@ -89,7 +90,7 @@ export class HashicorpVault {
* @param version - version of the named key to use
* @param data - data that will be signed
*/
public async signData(name: string, data: SignRequestPayload): Promise<string> {
public async signData(name: string, data: SignRequestPayload): Promise<HexString> {
const { headers } = this;

const response = await fetch(this.getUrl('sign', name), {
Expand Down

0 comments on commit 96b0eeb

Please sign in to comment.