Skip to content

Commit

Permalink
eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ecioppettini committed Nov 28, 2023
1 parent d474564 commit ac1aa29
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Errors } from '../../../shared/errors';
import type { EndpointTypes } from '../../../shared/routes';
import { Routes } from '../../../shared/routes';
import { delegationForAddress } from '../services/DelegationForAddress';
import { DelegationForAddressResponse } from '../../../shared/models/DelegationForAddress';
import type { DelegationForAddressResponse } from '../../../shared/models/DelegationForAddress';
import { Address } from '@dcspark/cardano-multiplatform-lib-nodejs';

const route = Routes.delegationForAddress;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { genErrorMessage, type ErrorShape, Errors } from '../../../shared/errors
import type { EndpointTypes } from '../../../shared/routes';
import { Routes } from '../../../shared/routes';
import { delegationsForPool } from '../services/DelegationForPool';
import { DelegationForPoolResponse } from '../../../shared/models/DelegationForPool';
import type { DelegationForPoolResponse } from '../../../shared/models/DelegationForPool';
import { POOL_DELEGATION_LIMIT } from '../../../shared/constants';

const route = Routes.delegationForPool;
Expand Down
3 changes: 2 additions & 1 deletion webserver/server/app/services/DelegationForAddress.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import type { PoolClient } from 'pg';
import { ISqlStakeDelegationForAddressResult, sqlStakeDelegationForAddress } from '../models/delegation/delegationForAddress.queries';
import type { ISqlStakeDelegationForAddressResult} from '../models/delegation/delegationForAddress.queries';
import { sqlStakeDelegationForAddress } from '../models/delegation/delegationForAddress.queries';

export async function delegationForAddress(request: {
address: Buffer,
Expand Down
4 changes: 2 additions & 2 deletions webserver/server/app/services/DelegationForPool.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { PoolClient } from 'pg';
import { ISqlStakeDelegationByPoolResult, sqlStakeDelegationByPool } from '../models/delegation/delegationsForPool.queries';

import type { ISqlStakeDelegationByPoolResult} from '../models/delegation/delegationsForPool.queries';
import { sqlStakeDelegationByPool } from '../models/delegation/delegationsForPool.queries';

export async function delegationsForPool(request: {
range: { minSlot: number, maxSlot: number },
Expand Down

0 comments on commit ac1aa29

Please sign in to comment.