Skip to content

Commit

Permalink
feat: add wallets
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrelstan committed Jan 28, 2022
1 parent 09ab42c commit 694f5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6,336 deletions.
6 changes: 2 additions & 4 deletions server/infra/database/WalletsRepository.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
// eslint-disable-next-line import/no-cycle
import { Wallet } from 'models/Wallets';
import Wallets from 'interfaces/Wallets';
import BaseRepository from './BaseRepository';
import Session from './Session';
import HttpError from '../../utils/HttpError';

export default class WalletsRepository extends BaseRepository<Wallet> {
export default class WalletsRepository extends BaseRepository<Wallets> {
constructor(session: Session) {
super('wallet.wallet', session);
}


async getWalletByIdOrName(walletIdOrName: string) {
const sql = `
SELECT *
Expand Down
Loading

0 comments on commit 694f5dc

Please sign in to comment.