From 9b5442c0add05e486aa622a3c26f0f422b23f2a3 Mon Sep 17 00:00:00 2001 From: kev-le Date: Thu, 20 Jun 2024 22:43:24 -0700 Subject: [PATCH] Update docs for background profile photo upload --- README.md | 1 + StudioClient/Photo.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f390bd..baa0258 100644 --- a/README.md +++ b/README.md @@ -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); ``` diff --git a/StudioClient/Photo.cs b/StudioClient/Photo.cs index 7ed5229..0c6e9ac 100644 --- a/StudioClient/Photo.cs +++ b/StudioClient/Photo.cs @@ -73,7 +73,7 @@ public async Task UploadJobPhoto(string photoPath, long jobId) } /// - /// Uploads a photo associated with a profile. + /// Uploads a photo associated with a profile (for profiles with replace bg enabled) /// /// The path to the photo file. /// The ID of the profile associated with the photo.