refactor: rename RunPomodoroTimer() to RunPomodoro()
🤖
This commit is contained in:
parent
337e5b0ed3
commit
f098c1f6bf
2 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ func handleClientCommands(ws *websocket.Conn) {
|
|||
switch command.Command {
|
||||
case "start":
|
||||
if !pomodoro.IsPomodoroOngoing() {
|
||||
go pomodoro.RunPomodoroTimer(Clients) // Start the timer with the list of clients
|
||||
go pomodoro.RunPomodoro(Clients) // Start the timer with the list of clients
|
||||
}
|
||||
case "stop":
|
||||
if pomodoro.IsPomodoroOngoing() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue