From 572874431d3cf8d46bab17a458c07e247ca0bffd Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 26 Aug 2025 14:48:30 +0800 Subject: [PATCH] :bug: Fix sticker perm check --- DysonNetwork.Sphere/Sticker/StickerController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DysonNetwork.Sphere/Sticker/StickerController.cs b/DysonNetwork.Sphere/Sticker/StickerController.cs index 14bbd71..0ba15da 100644 --- a/DysonNetwork.Sphere/Sticker/StickerController.cs +++ b/DysonNetwork.Sphere/Sticker/StickerController.cs @@ -31,7 +31,7 @@ public class StickerController( return NotFound("Sticker pack not found"); var accountId = Guid.Parse(currentUser.Id); - if (!await ps.IsMemberWithRole(accountId, pack.PublisherId, requiredRole)) + if (!await ps.IsMemberWithRole(pack.PublisherId, accountId, requiredRole)) return StatusCode(403, "You are not a member of this publisher"); return Ok();