summaryrefslogtreecommitdiff
path: root/packages/backend/src/services/chart/charts/ap-request.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/backend/src/services/chart/charts/ap-request.ts')
-rw-r--r--packages/backend/src/services/chart/charts/ap-request.ts10
1 files changed, 2 insertions, 8 deletions
diff --git a/packages/backend/src/services/chart/charts/ap-request.ts b/packages/backend/src/services/chart/charts/ap-request.ts
index ca763c8847..e9e42ade7f 100644
--- a/packages/backend/src/services/chart/charts/ap-request.ts
+++ b/packages/backend/src/services/chart/charts/ap-request.ts
@@ -1,6 +1,5 @@
-import autobind from 'autobind-decorator';
-import Chart, { KVs } from '../core';
-import { name, schema } from './entities/ap-request';
+import Chart, { KVs } from '../core.js';
+import { name, schema } from './entities/ap-request.js';
/**
* Chart about ActivityPub requests
@@ -11,31 +10,26 @@ export default class ApRequestChart extends Chart<typeof schema> {
super(name, schema);
}
- @autobind
protected async tickMajor(): Promise<Partial<KVs<typeof schema>>> {
return {};
}
- @autobind
protected async tickMinor(): Promise<Partial<KVs<typeof schema>>> {
return {};
}
- @autobind
public async deliverSucc(): Promise<void> {
await this.commit({
'deliverSucceeded': 1,
});
}
- @autobind
public async deliverFail(): Promise<void> {
await this.commit({
'deliverFailed': 1,
});
}
- @autobind
public async inbox(): Promise<void> {
await this.commit({
'inboxReceived': 1,