diff --git a/StudioClient/Photo.cs b/StudioClient/Photo.cs index 7ed5229..062f4fa 100644 --- a/StudioClient/Photo.cs +++ b/StudioClient/Photo.cs @@ -104,7 +104,7 @@ private async Task UploadPhoto(string photoPath, string modelName, long var photoObject = new JObject { - { "name", photoBasename }, + { "name", $"{Guid.NewGuid()}{fileExtension}" }, { "path", photoPath } }; if (modelName == "job") photoObject["job_id"] = modelId; else photoObject["profile_id"] = modelId;