💥 Switch all id to uuid
This commit is contained in:
@ -41,7 +41,7 @@ public class CloudFile : ModelBase
|
||||
public int UsedCount { get; set; } = 0;
|
||||
|
||||
[JsonIgnore] public Account.Account Account { get; set; } = null!;
|
||||
public long AccountId { get; set; }
|
||||
public Guid AccountId { get; set; }
|
||||
}
|
||||
|
||||
public enum CloudFileSensitiveMark
|
||||
|
@ -55,7 +55,7 @@ public class FileService(
|
||||
case "image":
|
||||
stream.Position = 0;
|
||||
// We still need ImageSharp for blurhash calculation
|
||||
using (var imageSharp = await SixLabors.ImageSharp.Image.LoadAsync<Rgba32>(stream))
|
||||
using (var imageSharp = await Image.LoadAsync<Rgba32>(stream))
|
||||
{
|
||||
var blurhash = Blurhasher.Encode(imageSharp, 3, 3);
|
||||
|
||||
|
Reference in New Issue
Block a user