Fix showArchive return type (#2001)

This commit is contained in:
Mahmoud Saada 2021-08-12 15:38:38 -04:00 committed by GitHub
parent f1ea215ca0
commit d15dac99a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,7 +78,7 @@ export class Repositories<C extends boolean = false> extends BaseResource<C> {
this,
`projects/${pId}/repository/archive.${fileType}`,
options as Record<string, unknown>,
) as unknown as Promise<void>;
) as unknown as Promise<string>;
}
showBlob(projectId: string | number, sha: string, options?: Sudo) {