♻️ Extract the Storage service to DysonNetwork.Drive microservice
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using DysonNetwork.Common.Interfaces;
|
||||
using DysonNetwork.Common.Models;
|
||||
using DysonNetwork.Sphere.Permission;
|
||||
using DysonNetwork.Sphere.Realm;
|
||||
@ -15,7 +16,7 @@ namespace DysonNetwork.Sphere.Publisher;
|
||||
public class PublisherController(
|
||||
AppDatabase db,
|
||||
PublisherService ps,
|
||||
FileReferenceService fileRefService,
|
||||
IFileReferenceServiceClient fileRefService,
|
||||
ActionLogService als)
|
||||
: ControllerBase
|
||||
{
|
||||
@ -362,7 +363,7 @@ public class PublisherController(
|
||||
|
||||
// Create a new reference
|
||||
await fileRefService.CreateReferenceAsync(
|
||||
picture.Id,
|
||||
picture.Id.ToString(),
|
||||
"publisher.picture",
|
||||
publisher.ResourceIdentifier
|
||||
);
|
||||
@ -384,7 +385,7 @@ public class PublisherController(
|
||||
|
||||
// Create a new reference
|
||||
await fileRefService.CreateReferenceAsync(
|
||||
background.Id,
|
||||
background.Id.ToString(),
|
||||
"publisher.background",
|
||||
publisher.ResourceIdentifier
|
||||
);
|
||||
|
Reference in New Issue
Block a user