Skip to content

Conversation

elloku
Copy link

@elloku elloku commented Apr 23, 2021

…html

include:

  1. Fork project
  2. Delete an existing forked from relationship
  3. Update existing file in repository

…html

include:
1. Fork project
2. Delete an existing forked from relationship
3. Update existing file in repository

public async Task<UpdateFileResponse> UpdateAsync(ProjectId projectId, string filePath, UpdateFileRequest request)
{
return await _httpFacade.Put<UpdateFileResponse>($"projects/{projectId}/repository/files/{filePath}", request);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to encode file path, like in Get method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants