Skip to content

Commit

Permalink
Add Blob to RepositoryFiles.showRaw response type (#3418)
Browse files Browse the repository at this point in the history
  • Loading branch information
mercutiodesign authored Oct 2, 2023
1 parent 8cb5479 commit b2df614
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/resources/RepositoryFiles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export class RepositoryFiles<C extends boolean = false> extends BaseResource<C>
filePath: string,
ref: string,
options?: { lfs?: boolean } & Sudo & ShowExpanded<E>,
): Promise<GitlabAPIResponse<string, C, E, void>> {
return RequestHelper.get<string>()(
): Promise<GitlabAPIResponse<string | Blob, C, E, void>> {
return RequestHelper.get<string | Blob>()(
this,
endpoint`projects/${projectId}/repository/files/${filePath}/raw`,
{
Expand Down

0 comments on commit b2df614

Please sign in to comment.