Skip to content

Commit

Permalink
Removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
aminlatifi committed Jul 31, 2023
1 parent 9123284 commit 30e127f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/repositories/powerSnapshotRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,6 @@ export const updatePowerSnapShots = async (params: {
await powerSnapshot.save();
};

export const insertSinglePowerBalanceSnapshot = async (
param: Pick<PowerBalanceSnapshot, 'userId' | 'powerSnapshotId' | 'balance'>,
) => {
const { userId, powerSnapshotId, balance } = param;
return PowerBalanceSnapshot.create({
userId,
powerSnapshotId,
balance,
}).save();
};

export const findPowerSnapshots = async (
round?: number,
powerSnapshotId?: number,
Expand Down

0 comments on commit 30e127f

Please sign in to comment.