Skip to content

Commit

Permalink
Merge branch 'main' into raw-prices-api
Browse files Browse the repository at this point in the history
  • Loading branch information
iamacook committed Nov 8, 2024
1 parent f14ff3e commit fc3d64b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/datasources/balances-api/balances-api.manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import { ITransactionApiManager } from '@/domain/interfaces/transaction-api.mana
import { ChainSchema } from '@/domain/chains/entities/schemas/chain.schema';
import { z } from 'zod';
import { type Raw, rawify } from '@/validation/entities/raw.entity';
import { ChainSchema } from '@/domain/chains/entities/schemas/chain.schema';

@Injectable()
export class BalancesApiManager implements IBalancesApiManager {
Expand Down
1 change: 0 additions & 1 deletion src/datasources/errors/http-error-factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { get } from 'lodash';
@Injectable()
export class HttpErrorFactory {
from(source: unknown): DataSourceError {
// TODO: Handle instances of ZodError, returning issue from it
if (source instanceof NetworkResponseError) {
const errorMessage = get(source, 'data.message', 'An error occurred');
return new DataSourceError(errorMessage, source.response.status);
Expand Down

0 comments on commit fc3d64b

Please sign in to comment.