fix: update GoTomato model field names

adjust field names due to breaking changes in GoTomato v0.0.4
This commit is contained in:
Sebastian Mark 2024-10-28 07:56:37 +01:00
parent 2430e22756
commit 0f8fde3143
6 changed files with 16 additions and 18 deletions

View file

@ -3,7 +3,7 @@ package models
import GoTomato "git.smsvc.net/pomodoro/GoTomato/pkg/models"
type Config struct {
URL string `yaml:"url"`
Password string `yaml:"password"`
PomodoroConfig GoTomato.GoTomatoPomodoroConfig `yaml:"config"`
URL string `yaml:"url"`
Password string `yaml:"password"`
PomodoroConfig GoTomato.PomodoroConfig `yaml:"config"`
}