chore: add referral module
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { IsNotEmpty, IsString } from "class-validator";
|
||||
|
||||
export class UseReferralCodeDto {
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
referralCode: string;
|
||||
|
||||
@IsNotEmpty()
|
||||
@IsString()
|
||||
userId: string;
|
||||
}
|
||||
Reference in New Issue
Block a user