Added scoreboard edt for added entries BOD-365
This commit is contained in:
@@ -35,3 +35,17 @@ export const INSERT_SCOREBOARD_ENTRY = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const UPDATE_SCOREBOARD_ENTRY = gql`
|
||||
mutation UPDATE_SCOREBOARD_ENTRY(
|
||||
$sbId: uuid!
|
||||
$sbInput: scoreboard_set_input!
|
||||
) {
|
||||
update_scoreboard_by_pk(_set: $sbInput, pk_columns: { id: $sbId }) {
|
||||
id
|
||||
date
|
||||
bodyhrs
|
||||
painthrs
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user