fix: bigint type confusion
All checks were successful
Update changelog / changelog (push) Successful in 25s

This commit is contained in:
2026-01-03 12:02:03 +01:00
parent 413aa8994a
commit 518eeec8e8
3 changed files with 2 additions and 2 deletions

View File

@@ -167,7 +167,6 @@ export async function createLinkHandler(
// Failed (short uri + if enabled, subdomain combo is taken)?
if (returnedId.exists && returnedId.id == -1) {
console.log(returnedId);
const error: ms.ErrorDTO = {
status: 'error',
error: `"${req.body.uri}" is already taken. Maybe try "${generateSentenceString()}"?`,

View File

@@ -15,4 +15,5 @@ export const AppDataSource = new DataSource({
entities: [__dirname + '/entities/*.ts'],
migrations: [__dirname + '/migrations/*.ts'],
subscribers: [],
parseInt8: true
})