Skip to content

Commit 2066b68

Browse files
committed
fixes
1 parent a154ca9 commit 2066b68

5 files changed

Lines changed: 4 additions & 5 deletions

File tree

game_server/src/main/kotlin/com/imsproject/gameserver/business/auth/CredentialsController.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ class CredentialsController(private val credentialsDAO: CredentialsDAO) {
1212

1313
init {
1414
credentials.put("admin", "\$2a\$10\$3Dw.gqCvW3tbdHc7qGSLr.4ry49vTMebhTKxu/J5zcNrEBKi4BuGG")
15-
credentials.put("user", "\$2a\$10\$3Dw.gqCvW3tbdHc7qGSLr.4ry49vTMebhTKxu/J5zcNrEBKi4BuGG")
1615
}
1716

1817
operator fun get(userId: String): String? {

game_server/src/main/kotlin/com/imsproject/gameserver/dataAccess/implementations/SessionsFeedbackDAO.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import com.imsproject.gameserver.dataAccess.models.*
1212
import org.springframework.stereotype.Component
1313

1414
@Component
15-
class SessionsFeedbackDAO(cursor: SQLExecutor) : DAOBase<SessionFeedbackDTO, SessionFeedbackPK>(cursor, "SessionsFeedback", ExperimentPK.primaryColumnsList, arrayOf("exp_id", "session_id", "pid", "question", "answer")) {
15+
class SessionsFeedbackDAO(cursor: SQLExecutor) : DAOBase<SessionFeedbackDTO, SessionFeedbackPK>(cursor, "SessionsFeedback", ExperimentPK.primaryColumnsList, arrayOf("session_id", "pid", "question", "answer")) {
1616
override fun buildObjectFromResultSet(resultSet: OfflineResultSet): SessionFeedbackDTO {
1717
return SessionFeedbackDTO(
1818
sessionId = resultSet.getInt("session_id"),

game_server/src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ database.port=5432
1010
database.name=ims-db
1111
database.driver-class-name=org.postgresql.Driver
1212

13-
running.local=true
13+
running.local=false

manager/src/managers/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import base64
55
from .logger import Logger
66

7-
RUNNING_LOCAL = True
7+
RUNNING_LOCAL = False
88

99
if RUNNING_LOCAL:
1010
URL = "http://localhost:8080"

manager/src/managers/participants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_participants():
2626

2727
def get_participants_for_view():
2828
try:
29-
response = get_auth(URL+"/participants/get")
29+
response = post_auth(URL+"/data/participant/select", json={})
3030
if response.status_code in [200, 201]:
3131
ser_res = server_response(response)
3232
if ser_res.get_success():

0 commit comments

Comments
 (0)