mirror of
https://github.com/jdalrymple/gitbeaker.git
synced 2026-01-18 15:55:30 +00:00
Add Blob to RepositoryFiles.showRaw response type (#3418)
This commit is contained in:
parent
8cb5479540
commit
b2df614304
@ -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`,
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user