IDs: string -> int

This commit is contained in:
Simon Martens
2025-02-19 22:03:40 +01:00
parent aa7c5f4d6c
commit 107a9d9f70
21 changed files with 94 additions and 63 deletions

View File

@@ -92,11 +92,11 @@ func (a *Agent) SetAnnotation(annotation string) {
a.Set(ANNOTATION_FIELD, annotation)
}
func (a *Agent) MusenalmID() string {
return a.GetString(MUSENALMID_FIELD)
func (a *Agent) MusenalmID() int {
return a.GetInt(MUSENALMID_FIELD)
}
func (a *Agent) SetMusenalmID(id string) {
func (a *Agent) SetMusenalmID(id int) {
a.Set(MUSENALMID_FIELD, id)
}