From 4bcfa99a3f9e4c193afc49687af014e803a8ec37 Mon Sep 17 00:00:00 2001 From: pancakes Date: Tue, 22 Oct 2024 14:52:42 +1000 Subject: [PATCH] [backend/masto-client] Add FromHybrid to BiteUser id --- Iceshrimp.Backend/Controllers/Pleroma/BiteController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Iceshrimp.Backend/Controllers/Pleroma/BiteController.cs b/Iceshrimp.Backend/Controllers/Pleroma/BiteController.cs index 0aab1855..85af213c 100644 --- a/Iceshrimp.Backend/Controllers/Pleroma/BiteController.cs +++ b/Iceshrimp.Backend/Controllers/Pleroma/BiteController.cs @@ -25,7 +25,7 @@ public class BiteController(DatabaseContext db, BiteService biteSvc) : Controlle [Authenticate("write:bites")] [ProducesResults(HttpStatusCode.OK)] [ProducesErrors(HttpStatusCode.BadRequest, HttpStatusCode.NotFound)] - public async Task BiteUser(string id) + public async Task BiteUser([FromHybrid] string id) { var user = HttpContext.GetUserOrFail(); if (user.Id == id)