Skip to content

Commit

Permalink
fixed update-event-match
Browse files Browse the repository at this point in the history
  • Loading branch information
varCepheid committed Dec 14, 2023
1 parent 1c1f407 commit 05dfd71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions src/api/match-info/update-event-match.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,4 @@ export const updateEventMatch = (
time: string
},
) =>
request<null>(
'PATCH',
`events/${eventKey}/matches`,
{ key: match.key },
match,
)
request<null>('PATCH', `events/${eventKey}/matches/${match.key}`, {}, match)
2 changes: 1 addition & 1 deletion src/routes/match-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const EditorForm = ({
value={formatTime(matchDate)}
/>
<TextInput
label="Teams (separate numbers with commas, red alliance first)"
label="Teams (separate numbers with commas and spaces, red alliance first)"
required
onInput={(input) => {
const teams = input.split(', ')
Expand Down

0 comments on commit 05dfd71

Please sign in to comment.