From 508c694c3d551cddb3b15c1b0d4787dae3c00530 Mon Sep 17 00:00:00 2001 From: Rory& Date: Thu, 2 May 2024 07:20:13 +0200 Subject: HomeserverEmulator work --- .../LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tests/LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs') diff --git a/Tests/LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs b/Tests/LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs index c717ba5..98c41da 100644 --- a/Tests/LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs +++ b/Tests/LibMatrix.HomeserverEmulator/Controllers/Users/ProfileController.cs @@ -46,7 +46,7 @@ public class ProfileController(ILogger logger, TokenService t ErrorCode = "M_NOT_FOUND", Error = "User not found." }; - user.Profile[key] = value[key]; + user.Profile[key] = value[key]?.AsObject(); return value; } } \ No newline at end of file -- cgit 1.4.1