Skip to content

Commit 5a62fea

Browse files
committed
chore: linting
1 parent 1f52c3c commit 5a62fea

6 files changed

Lines changed: 3 additions & 8 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
type=raw,value=latest
4545
type=raw,value=nightly,enable={{is_default_branch}}
4646
47-
4847
- name: Build and push Docker image
4948
uses: docker/build-push-action@v6
5049
with:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ services:
3333
POSTGRES_PASSWORD: mypassword
3434
POSTGRES_DB: postgres
3535
healthcheck:
36-
test: ["CMD-SHELL", "pg_isready -U myuser -d postgres"]
36+
test: ['CMD-SHELL', 'pg_isready -U myuser -d postgres']
3737
interval: 5s
3838
timeout: 5s
3939
retries: 5

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,4 +93,4 @@
9393
"typescript-eslint": "^8.18.2",
9494
"vitest": "^4.0.3"
9595
}
96-
}
96+
}

src/controllers/registration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AuthEvent } from '../models/authEvents';
1212
import { User } from '../models/users';
1313
import { AuthEventService } from '../services/authEventService';
1414
import getLogger from '../utils/logger';
15-
import { generateEmailOTP, generatePhoneOTP } from '../utils/otp';
15+
import { generatePhoneOTP } from '../utils/otp';
1616
import { isValidEmail, isValidPhoneNumber } from '../utils/utils';
1717

1818
const logger = getLogger('registration');

src/lib/cookie.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
import { Response } from 'express';
66

77
import { getSystemConfig } from '../config/getSystemConfig';
8-
import getLogger from '../utils/logger';
98
import { parseDurationToSeconds } from '../utils/utils';
109

11-
const logger = getLogger('cookies');
1210
export async function setAuthCookies(
1311
res: Response,
1412
cookie: {

src/models/magicLinks.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import {
1111
Sequelize,
1212
} from 'sequelize';
1313

14-
import { User } from './users';
15-
1614
export class MagicLinkToken extends Model<
1715
InferAttributes<MagicLinkToken>,
1816
InferCreationAttributes<MagicLinkToken>

0 commit comments

Comments
 (0)