mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-12-20 04:12:23 -06:00
session worker compatibility
This commit is contained in:
@@ -67,7 +67,7 @@ export class AuthStateProvider {
|
||||
data: json,
|
||||
});
|
||||
if (error) {
|
||||
this.logger.error(['writeData', error?.message, error?.stack]);
|
||||
// this.logger.error(['writeData', error?.message, error?.stack]);
|
||||
return;
|
||||
}
|
||||
return response;
|
||||
@@ -76,7 +76,7 @@ export class AuthStateProvider {
|
||||
const readData = async (key: string): Promise<any> => {
|
||||
const [response, error] = await this.providerFiles.read(instance, key);
|
||||
if (error) {
|
||||
this.logger.error(['readData', error?.message, error?.stack]);
|
||||
// this.logger.error(['readData', error?.message, error?.stack]);
|
||||
return;
|
||||
}
|
||||
if (isNotEmpty(response?.data)) {
|
||||
@@ -87,7 +87,7 @@ export class AuthStateProvider {
|
||||
const removeData = async (key: string) => {
|
||||
const [response, error] = await this.providerFiles.delete(instance, key);
|
||||
if (error) {
|
||||
this.logger.error(['removeData', error?.message, error?.stack]);
|
||||
// this.logger.error(['removeData', error?.message, error?.stack]);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user