diff --git a/StudioClient/Photo.cs b/StudioClient/Photo.cs index 92718c4..19d3176 100644 --- a/StudioClient/Photo.cs +++ b/StudioClient/Photo.cs @@ -135,7 +135,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;