These things are fragile, every event should use an ${eventType}Data struct or something instead.
This commit is contained in:
parent
c0de42e3df
commit
623ec03dad
|
@ -1065,7 +1065,7 @@ func (f *folder) setWatchError(err error, nextTryIn time.Duration) {
|
|||
f.watchErr = err
|
||||
f.watchMut.Unlock()
|
||||
if err != prevErr {
|
||||
data := map[string]string{
|
||||
data := map[string]interface{}{
|
||||
"folder": f.ID,
|
||||
}
|
||||
if prevErr != nil {
|
||||
|
|
Loading…
Reference in New Issue