Skip to content

Commit

Permalink
🎨 QoL Update (for typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
cfdxkk committed Jan 26, 2025
1 parent 80b9676 commit eb15b71
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/service/UserService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -770,10 +770,10 @@ export const updateOrCreateUserInfoService = async (updateOrCreateUserInfoReques
* @param UserExistsCheckByUIDRequestDto 获取用户是否存在的请求参数
* @returns 获取用户是否存在的请求结果
*/
export const checkUserExistsByUIDService = async (UserExistsCheckByUIDRequest: UserExistsCheckByUIDRequestDto): Promise<UserExistsCheckByUIDResponseDto> => {
export const checkUserExistsByUIDService = async (userExistsCheckByUIDRequest: UserExistsCheckByUIDRequestDto): Promise<UserExistsCheckByUIDResponseDto> => {
try {
if (!!UserExistsCheckByUIDRequest.uid) {
const { uid } = UserExistsCheckByUIDRequest
if (!!userExistsCheckByUIDRequest.uid) {
const { uid } = userExistsCheckByUIDRequest
const { collectionName, schemaInstance } = UserInfoSchema
type UserInfo = InferSchemaType<typeof schemaInstance>
const where: QueryType<UserInfo> = { uid }
Expand Down
6 changes: 3 additions & 3 deletions src/service/VideoService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ export const getThumbVideoService = async (): Promise<ThumbVideoResponseDto> =>
* @param getVideoByKvidRequest 根据视频 ID (KVID) 检查视频是否存在的请求载荷
* @returns 视频是否存在
*/
export const checkVideoExistByKvidService = async (CheckVideoExistRequestDto: CheckVideoExistRequestDto): Promise<CheckVideoExistResponseDto> => {
export const checkVideoExistByKvidService = async (checkVideoExistRequestDto: CheckVideoExistRequestDto): Promise<CheckVideoExistResponseDto> => {
try {
if (checkGetVideoByKvidRequest(CheckVideoExistRequestDto)) {
if (checkGetVideoByKvidRequest(checkVideoExistRequestDto)) {
const { collectionName, schemaInstance } = VideoSchema
type Video = InferSchemaType<typeof schemaInstance>
const where: QueryType<Video> = {
videoId: CheckVideoExistRequestDto.videoId,
videoId: checkVideoExistRequestDto.videoId,
}
const select: SelectType<Video> = {
videoId: 1,
Expand Down

0 comments on commit eb15b71

Please sign in to comment.