Skip to content

Commit c71fc06

Browse files
committed
fix(otp): remove unused getRedisKey method from OtpRepository interface
1 parent e603ff0 commit c71fc06

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/server/modules/auth/interfaces/OtpRepository.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
import { StorableOtp } from '../../../repositories/types'
22

33
export interface OtpRepository {
4-
/**
5-
* Get the redis key for the otp associated with the user with the input email and IP.
6-
* @param {string} email Email of the user.
7-
* @param {string} ip IP address of the user.
8-
* @returns Promise that resolves to the redis key.
9-
*/
10-
getRedisKey(email: string, ip: string): string
11-
124
/**
135
* Delete the otp associated with the user with the input email and IP.
146
* @param {string} email Email of the user.

0 commit comments

Comments
 (0)