forked from FoundKeyGang/FoundKey
backend: Provide type for signedGet
This commit is contained in:
parent
6db9b76f46
commit
d725f93d40
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 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 req = createSignedGet({
|
||||
|
|
Loading…
Reference in a new issue