Skip to content

Commit

Permalink
fix: correctly include createdAt
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger committed Sep 5, 2023
1 parent 05f65df commit 31c29cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/user/hooks/useAdvertiserCreatives.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export function useAdvertiserCreatives() {
advertiserId: c.advertiserId,
name: c.name,
state: c.state,
createdAt: c.createdAt,
included: false,
}),
);
Expand Down
1 change: 1 addition & 0 deletions src/user/library/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function creativeList(
const c = ad.creative;
return {
...validCreativeFields(c, advertiserId, included),
createdAt: c.createdAt,
};
});
};
Expand Down

0 comments on commit 31c29cb

Please sign in to comment.