forked from FoundKeyGang/FoundKey
backend: Provide type for signedGet
This commit is contained in:
parent
58002cac58
commit
f1775debb5
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export default async (user: { id: User['id'] }, url: string, object: any) => {
|
||||||
* @param user http-signature user
|
* @param user http-signature user
|
||||||
* @param url URL to fetch
|
* @param url URL to fetch
|
||||||
*/
|
*/
|
||||||
export async function signedGet(url: string, user: { id: User['id'] }) {
|
export async function signedGet(url: string, user: { id: User['id'] }): Promise<any> {
|
||||||
const keypair = await getUserKeypair(user.id);
|
const keypair = await getUserKeypair(user.id);
|
||||||
|
|
||||||
const req = createSignedGet({
|
const req = createSignedGet({
|
||||||
|
|
Loading…
Reference in a new issue