Skip to content

Commit

Permalink
Merge pull request #12 from skylab-tech/SCD-4-add-bg-to-photo-output
Browse files Browse the repository at this point in the history
SCD-4 Update docs for background profile photo upload
  • Loading branch information
kev-le authored Jun 21, 2024
2 parents 8ff0755 + 9b5442c commit a27481c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ api.UploadJobPhoto("/path/to/photo", jobId);
OR

```dotnet
// Use the following to upload a background photo for a profile (replace bg enabled)
api.UploadProfilePhoto("/path/to/photo", profileId);
```

Expand Down
2 changes: 1 addition & 1 deletion StudioClient/Photo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public async Task<dynamic> UploadJobPhoto(string photoPath, long jobId)
}

/// <summary>
/// Uploads a photo associated with a profile.
/// Uploads a photo associated with a profile (for profiles with replace bg enabled)
/// </summary>
/// <param name="photoPath">The path to the photo file.</param>
/// <param name="profileId">The ID of the profile associated with the photo.</param>
Expand Down

0 comments on commit a27481c

Please sign in to comment.