From 9d0aa83f883186931f36d852ab050b6de04f49ed Mon Sep 17 00:00:00 2001 From: kev-le Date: Thu, 7 Mar 2024 21:11:54 -0800 Subject: [PATCH] Use job, path and name for photo uniqueness --- StudioClient/Photo.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/StudioClient/Photo.cs b/StudioClient/Photo.cs index b30602e..7ed5229 100644 --- a/StudioClient/Photo.cs +++ b/StudioClient/Photo.cs @@ -105,6 +105,7 @@ private async Task UploadPhoto(string photoPath, string modelName, long var photoObject = new JObject { { "name", photoBasename }, + { "path", photoPath } }; if (modelName == "job") photoObject["job_id"] = modelId; else photoObject["profile_id"] = modelId;