fix: bigint type confusion
All checks were successful
Update changelog / changelog (push) Successful in 25s
All checks were successful
Update changelog / changelog (push) Successful in 25s
This commit is contained in:
@@ -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()}"?`,
|
||||
|
||||
@@ -15,4 +15,5 @@ export const AppDataSource = new DataSource({
|
||||
entities: [__dirname + '/entities/*.ts'],
|
||||
migrations: [__dirname + '/migrations/*.ts'],
|
||||
subscribers: [],
|
||||
parseInt8: true
|
||||
})
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"es2021"
|
||||
],
|
||||
"types": ["node"],
|
||||
"target": "es2021",
|
||||
"target": "esnext",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
"outDir": "./build",
|
||||
|
||||
Reference in New Issue
Block a user