adjusted save note argument signature

This commit is contained in:
Ryan Peters
2025-01-09 11:41:18 -05:00
parent 9a5a082f6d
commit 538ddeeb4f
4 changed files with 5 additions and 5 deletions

View File

@ -25,11 +25,11 @@ namespace BinaryDad.Notes
return base.OnConnectedAsync();
}
public async Task SaveNote(string content, string noteName)
public async Task SaveNote(string noteName, string content)
{
try
{
noteService.SaveNote(content, noteName);
noteService.SaveNote(noteName, content);
// find all other connections except for the current one
var clientConnections = NoteContext.ClientNotes