Skip to content

Commit 429e5fb

Browse files
nanotaboadaclaude
andcommitted
chore(docs): address CodeRabbit review findings
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 08d9454 commit 429e5fb

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

rest/players.rest

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Content-Type: application/json
3232
"middleName": "",
3333
"lastName": "Lo Celso",
3434
"dateOfBirth": "1996-07-09T00:00:00.000Z",
35-
"squadNumber": 27,
35+
"squadNumber": {{newSquadNumber}},
3636
"position": "Central Midfield",
3737
"abbrPosition": "CM",
3838
"team": "Real Betis Balompié",
@@ -53,7 +53,7 @@ Content-Type: application/json
5353
"middleName": "",
5454
"lastName": "Lo Celso",
5555
"dateOfBirth": "1996-07-09T00:00:00.000Z",
56-
"squadNumber": 27,
56+
"squadNumber": {{newSquadNumber}},
5757
"position": "Central Midfield",
5858
"abbrPosition": "CM",
5959
"team": "Real Betis Balompié",
@@ -117,7 +117,7 @@ Content-Type: application/json
117117
"middleName": "",
118118
"lastName": "Martínez",
119119
"dateOfBirth": "1992-09-02T00:00:00.000Z",
120-
"squadNumber": 23,
120+
"squadNumber": {{existingSquadNumber}},
121121
"position": "Goalkeeper",
122122
"abbrPosition": "GK",
123123
"team": "Aston Villa FC",
@@ -137,7 +137,7 @@ Content-Type: application/json
137137
"middleName": "",
138138
"lastName": "Martínez",
139139
"dateOfBirth": "1992-09-02T00:00:00.000Z",
140-
"squadNumber": 23,
140+
"squadNumber": {{existingSquadNumber}},
141141
"position": "Goalkeeper",
142142
"abbrPosition": "GK",
143143
"team": "Aston Villa FC",
@@ -157,7 +157,7 @@ Content-Type: application/json
157157
"middleName": "",
158158
"lastName": "Martínez",
159159
"dateOfBirth": "1992-09-02T00:00:00.000Z",
160-
"squadNumber": 23,
160+
"squadNumber": {{existingSquadNumber}},
161161
"position": "Goalkeeper",
162162
"abbrPosition": "GK",
163163
"team": "Aston Villa FC",

scripts/entrypoint.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ log() {
99

1010
log "✔ Starting container..."
1111

12+
STORAGE_PATH="${STORAGE_PATH:-storage/players-sqlite3.db}"
13+
1214
mkdir -p "$(dirname "$STORAGE_PATH")"
1315

1416
if [ ! -f "$STORAGE_PATH" ]; then

0 commit comments

Comments
 (0)