Skip to content

Commit

Permalink
small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qdraw committed Jul 25, 2023
1 parent 2c8f3cc commit 42cb54c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion starsky/starsky.foundation.database/Query/Query.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ internal static string GetObjectByFilePathAsyncCacheName(string subPath)
_cache.TryGetValue(
GetObjectByFilePathAsyncCacheName(filePath), out var data) )
{
_logger.LogInformation("Get from cache " + GetObjectByFilePathAsyncCacheName(filePath));
if ( !(data is FileIndexItem fileIndexItem) ) return null;
fileIndexItem.Status = FileIndexItem.ExifStatus.OkAndSame;
return fileIndexItem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default class WebSocketService {
} catch (error) {}
}

public onOpen(callback: (ev: Event) => void): void {
public onOpen(callback: (ev: Event) => Promise<void>): void {
if (!this.websocket) return;
this.websocket.onopen = callback;
}
Expand Down

0 comments on commit 42cb54c

Please sign in to comment.