Skip to content

Commit d5c9a48

Browse files
committed
[FIX]: 서버 오류 해결
1 parent 6dc7a86 commit d5c9a48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/model/Counter.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Counter {
77
// 필요한 경우 생성자에서 초기화 작업 수행
88
}
99

10-
async increaseValue(amount) {
10+
static async increaseValue(amount) {
1111
try {
1212
const response = await CounterStorage.increaseValue(amount);
1313
logger.info(`Value increased by ${amount}. New value: ${response.value}`);
@@ -18,7 +18,7 @@ class Counter {
1818
}
1919
}
2020

21-
async getValue() {
21+
static async getValue() {
2222
try {
2323
const value = await CounterStorage.getValue();
2424
logger.info(`Current value: ${value}`);

0 commit comments

Comments
 (0)