Skip to content

Commit 672694f

Browse files
committed
hotfix linting
1 parent 7271f33 commit 672694f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

eslint.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export default typescriptEslint.config(
4848
},
4949
{
5050
selector: 'variable',
51-
format: ['camelCase'],
51+
format: ['camelCase', 'UPPER_CASE'],
5252
leadingUnderscore: 'allow',
5353
},
5454
{

src/services/post.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { RawPostType } from '@/types';
55
import { getCurrentKSTDateString, getKSTDateStringWithOffset } from '@/utils/date.util';
66

77
export class PostService {
8-
constructor(private postRepo: PostRepository) { }
8+
constructor(private postRepo: PostRepository) {}
99

1010
async getAllposts(userId: number, cursor?: string, sort: string = '', isAsc?: boolean, limit: number = 15) {
1111
try {
@@ -43,7 +43,7 @@ export class PostService {
4343
// if (results.posts.length > 0) {
4444
// await cache.set(cacheKey, results, 300);
4545
// }
46-
return results
46+
return results;
4747
} catch (error) {
4848
logger.error('PostService getAllposts error : ', error);
4949
throw error;

0 commit comments

Comments
 (0)