mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-06-26 23:36:36 +02:00
use database::Json() to serialise MSC4133 profile value before insert
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
17273b1cea
commit
1b9c331049
1 changed files with 1 additions and 1 deletions
|
@ -866,7 +866,7 @@ impl Service {
|
|||
let key = (user_id, profile_key);
|
||||
|
||||
if let Some(value) = profile_key_value {
|
||||
self.db.useridprofilekey_value.put(key, value);
|
||||
self.db.useridprofilekey_value.put(key, Json(value));
|
||||
} else {
|
||||
self.db.useridprofilekey_value.del(key);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue