[WIP] Fix tauri notifications
This commit is contained in:
@@ -37,7 +37,7 @@ func (i *OSIntegration) Initialize() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CleanUp releases any resourses allocated during initializaion.
|
||||
// CleanUp releases any resources allocated during initialization.
|
||||
func (i *OSIntegration) CleanUp() error {
|
||||
if i.os.dll != nil {
|
||||
return i.os.dll.Release()
|
||||
|
||||
@@ -238,14 +238,14 @@ func updateListIndex() error {
|
||||
func ResolveListIDs(ids []string) ([]string, error) {
|
||||
index, err := getListIndexFromCache()
|
||||
if err != nil {
|
||||
if errors.Is(err, database.ErrNotFound) {
|
||||
if err := updateListIndex(); err != nil {
|
||||
return nil, err
|
||||
}
|
||||
// if errors.Is(err, database.ErrNotFound) {
|
||||
// if err := updateListIndex(); err != nil {
|
||||
// return nil, err
|
||||
// }
|
||||
|
||||
// retry resolving IDs
|
||||
return ResolveListIDs(ids)
|
||||
}
|
||||
// // retry resolving IDs
|
||||
// return ResolveListIDs(ids)
|
||||
// }
|
||||
|
||||
log.Errorf("failed to resolved ids %v: %s", ids, err)
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user