Skip to content

Commit b49c098

Browse files
committed
refactor: remove redundant type assertion in contributionEntity creation
1 parent 278351b commit b49c098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/digest/cron.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class DigestCron {
151151
repositoryId,
152152
contributorId,
153153
id: `${provider}-${issue.id}`,
154-
} as const;
154+
};
155155
await this.contributionsRepository.upsert(contributionEntity);
156156
await this.searchService.upsert(
157157
"contribution",

0 commit comments

Comments
 (0)