High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
fix(server): Share link with expire creation time error (#2934)
Alex7c76249e1f2f
diff --git a/server/src/domain/shared-link/shared-link.dto.ts b/server/src/domain/shared-link/shared-link.dto.tsindex 0695ad8c59..5aeef2967c 100644--- a/server/src/domain/shared-link/shared-link.dto.ts+++ b/server/src/domain/shared-link/shared-link.dto.ts@@ -1,5 +1,6 @@import { SharedLinkType } from '@app/infra/entities';import { ApiProperty } from '@nestjs/swagger';+import { Type } from 'class-transformer';import { IsBoolean, IsDate, IsEnum, IsOptional, IsString } from 'class-validator';import { ValidateUUID } from '../../immich/decorators/validate-uuid.decorator';@@ -19,6 +20,7 @@ export class SharedLinkCreateDto {description?: string;@IsDate()+ @Type(() => Date)@IsOptional()expiresAt?: Date | null = null;