[backend/api] Fix endpoint for getting specific reactions on notes not working with Unicode emojis
This commit is contained in:
parent
5d27233d08
commit
091d0e0c3f
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public class NoteController(
|
|||
throw GracefulException.NotFound("Note not found");
|
||||
|
||||
var users = await db.NoteReactions
|
||||
.Where(p => p.Note == note && p.Reaction == $":{name.Trim(':')}:")
|
||||
.Where(p => p.Note == note && p.Reaction == name)
|
||||
.Include(p => p.User.UserProfile)
|
||||
.Select(p => p.User)
|
||||
.ToListAsync();
|
||||
|
|
Loading…
Add table
Reference in a new issue