fix lint
This commit is contained in:
@@ -16,7 +16,7 @@ export default class FederationChart extends Chart<FederationLog> {
|
||||
return {
|
||||
instance: {
|
||||
total: latest.instance.total,
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,13 +34,13 @@ export default class FederationChart extends Chart<FederationLog> {
|
||||
@autobind
|
||||
protected async fetchActual(): Promise<DeepPartial<FederationLog>> {
|
||||
const [total] = await Promise.all([
|
||||
Instances.count({})
|
||||
Instances.count({}),
|
||||
]);
|
||||
|
||||
return {
|
||||
instance: {
|
||||
total: total,
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ export default class FederationChart extends Chart<FederationLog> {
|
||||
}
|
||||
|
||||
await this.inc({
|
||||
instance: update
|
||||
instance: update,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user