Skip to content

Commit ed00083

Browse files
authored
Merge pull request #227 from shelltime/feat/session-project-path-cache
fix(model): use camelCase for session-project JSON tags
2 parents d594338 + 594210b commit ed00083

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

model/api_session_project.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
)
88

99
type sessionProjectRequest struct {
10-
SessionID string `json:"session_id"`
11-
ProjectPath string `json:"project_path"`
10+
SessionID string `json:"sessionId"`
11+
ProjectPath string `json:"projectPath"`
1212
}
1313

1414
type sessionProjectResponse struct{}

0 commit comments

Comments
 (0)