correct import of entities

This commit is contained in:
clauspeterhuebner 2025-08-25 23:07:48 +02:00
parent 1ad378aa22
commit a0cde876cd
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import { Community as DbCommunity } from '../entity/Community'
import { Community as DbCommunity } from '../entity'
/**
* Retrieves the home community, i.e., a community that is not foreign.

View File

@ -1,4 +1,4 @@
import { TransactionLink as DbTransactionLink } from "../entity/TransactionLink"
import { TransactionLink as DbTransactionLink } from "../entity"
export async function findTransactionLinkByCode(code: string): Promise<DbTransactionLink> {
return await DbTransactionLink.findOneOrFail({

View File

@ -1,4 +1,4 @@
import { Transaction as DbTransaction } from 'database'
import { Transaction as DbTransaction } from '../entity'
export const getLastTransaction = async (
userId: number,