Skip to content

Commit b11b604

Browse files
authored
Merge pull request #249 from rush-db/fix/transaction-inferrence-for-import-method
Fix/transaction inference for import method
2 parents a1a58ae + ed6063d commit b11b604

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.changeset/smart-clouds-know.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'rushdb-core': patch
3+
'rushdb-website': patch
4+
'rushdb-docs': patch
5+
'@rushdb/javascript-sdk': patch
6+
'rushdb-dashboard': patch
7+
---
8+
9+
Fix missmatching transaction in import service

platform/core/src/core/entity/import-export/import.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export class ImportController {
5252
@AuthGuard('project')
5353
async collectJson(
5454
@Body() body: ImportJsonDto,
55-
@PreferredTransactionDecorator() transaction: Transaction,
55+
@TransactionDecorator() transaction: Transaction,
5656
@PreferredTransactionDecorator() customTx: Transaction,
5757
@Request() request: PlatformRequest
5858
): Promise<boolean | TEntityPropertiesNormalized[]> {

website/src/sections/blog/PostCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function PostCard({ post, className }: { post: Post['data']; className?:
3131
<div className="z-5 absolute inset-0 bg-gradient-to-t from-black/80 via-black/50 to-black/10"></div>
3232

3333
<div className="relative z-10 flex h-full w-full flex-col justify-end p-6">
34-
<h4 className="text-md mb-1 font-bold leading-tight text-white">{post.title}</h4>
34+
<h3 className="text-md mb-1 font-bold leading-tight text-white">{post.title}</h3>
3535

3636
{/* Meta information row below title */}
3737
<div className="mb-2 flex flex-wrap items-center gap-x-3 text-white/80">

0 commit comments

Comments
 (0)