mirror of
https://github.com/octoleo/syncthing.git
synced 2025-01-03 15:17:25 +00:00
lib/model: Events should have "folder" key, not "folderID"
This commit is contained in:
parent
1235cead35
commit
3959eb26fb
@ -1636,7 +1636,8 @@ func (m *Model) diskChangeDetected(folderCfg config.FolderConfiguration, files [
|
||||
|
||||
// Two different events can be fired here based on what EventType is passed into function
|
||||
events.Default.Log(typeOfEvent, map[string]string{
|
||||
"folderID": folderCfg.ID,
|
||||
"folder": folderCfg.ID,
|
||||
"folderID": folderCfg.ID, // incorrect, deprecated, kept for historical compliance
|
||||
"label": folderCfg.Label,
|
||||
"action": action,
|
||||
"type": objType,
|
||||
|
Loading…
Reference in New Issue
Block a user