Merge branch 'feat/login-method' into feat/impl-local-storage-service

This commit is contained in:
2023-09-04 17:29:04 +07:00
@@ -30,7 +30,8 @@ export default class CommonService {
async getDataFromId(id, path = this.defaultPath) { async getDataFromId(id, path = this.defaultPath) {
this.connectToDb(); this.connectToDb();
const data = await this.firebaseService.getDataFromId(id, path); const result = await this.firebaseService.getDataFromId(id, path);
const data = await timeOutConnect(result);
if (data) return data; if (data) return data;
return null; return null;
} }