mirror of
https://git.recroomarchive.org/RecRoomArchive/RRAC.git
synced 2026-09-09 07:01:24 -07:00
More changes...
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using RecRoomArchive.Controllers.API.Notification;
|
||||
using RecRoomArchive.Models.API.Notification;
|
||||
using RecRoomArchive.Models.API.Players;
|
||||
using RecRoomArchive.Services;
|
||||
using System.Text.Json;
|
||||
@@ -25,6 +27,8 @@ namespace RecRoomArchive.Controllers.API.Images.V2
|
||||
|
||||
fileService.SetData("profile.json", JsonSerializer.Serialize(profile));
|
||||
|
||||
await NotificationController.Notify(profile.Id, PushNotificationId.SubscriptionUpdateProfile, profile);
|
||||
|
||||
return Ok();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user