Added add to and remove from scoreboard functionality. BOD-91
This commit is contained in:
@@ -23,3 +23,15 @@ export const DELETE_SCOREBOARD_ENTRY = gql`
|
||||
}
|
||||
}
|
||||
`;
|
||||
export const INSERT_SCOREBOARD_ENTRY = gql`
|
||||
mutation INSERT_SCOREBOARD_ENTRY($sbInput: [scoreboard_insert_input!]!) {
|
||||
insert_scoreboard(objects: $sbInput) {
|
||||
returning {
|
||||
id
|
||||
date
|
||||
bodyhrs
|
||||
painthrs
|
||||
}
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user