Skip to content

Commit fa528db

Browse files
authored
Merge pull request #166 from import-ai/refactor/resources
refactor(resources): expose timestamps
2 parents 6ab37b0 + b439d9a commit fa528db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/resources/dto/resource-meta.dto.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export class ResourceMetaDto {
1818
@Exclude()
1919
globalPermission: ResourcePermission | null;
2020

21-
@Exclude()
21+
@Expose({ name: 'created_at' })
2222
createdAt: string;
2323

24-
@Exclude()
24+
@Expose({ name: 'updated_at' })
2525
updatedAt: string;
2626

2727
static fromEntity(resource: Resource) {

0 commit comments

Comments
 (0)