Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Bnonni committed Sep 5, 2024
1 parent 7176454 commit 439d374
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/server/src/applicant-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
Time,
TrustedIssuer
} from '@dcx-protocol/common';
import { Record } from '@web5/api';
import ms from 'ms';
import { DcxServer, IServer } from './dcx-server.js';

Expand Down
2 changes: 0 additions & 2 deletions packages/server/src/issuer-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@ export class IssuerServer implements IServer {
const milliseconds = ms(params.ms);

const CURSOR = this.issuer.config.cursorFile;
const LAST_RECORD_ID = this.issuer.config.lastRecordIdFile;

let cursor = await FileSystem.readToJson(CURSOR);
const pagination = Objects.isEmpty(cursor) ? {} : { cursor };
let lastRecordId = await FileSystem.readToString(LAST_RECORD_ID);

while (this.server.listening) {
const { records = [] } = await this.issuer.web5.dwn.records.query({
Expand Down

0 comments on commit 439d374

Please sign in to comment.