Skip to content

Commit

Permalink
removed if connected from isShared due to async issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Devendork committed Oct 14, 2024
1 parent d96ec10 commit 3762772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/provider/filesystem.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ createSharedFile(file_id: string, share_data: ShareObj) : Promise<string> {
*/
isShared(file_id:string) : Promise<ShareObj> {

if(!this.connected) return Promise.reject("no internet connection");
// if(!this.connected) return Promise.reject("no internet connection");

const db = getDatabase();

Expand Down

0 comments on commit 3762772

Please sign in to comment.