[backend/api] Actually save user settings on PUT /api/iceshrimp/settings
This commit is contained in:
parent
db9c4809dd
commit
c266cab4a6
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ public class SettingsController(DatabaseContext db) : ControllerBase
|
|||
settings.DefaultNoteVisibility = (Note.NoteVisibility)newSettings.DefaultNoteVisibility;
|
||||
settings.DefaultRenoteVisibility = (Note.NoteVisibility)newSettings.DefaultRenoteVisibility;
|
||||
|
||||
await db.SaveChangesAsync();
|
||||
return Ok(new object());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue