diff options
Diffstat (limited to 'src/api/models')
| -rw-r--r-- | src/api/models/othello-matching.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/api/models/othello-matching.ts b/src/api/models/othello-matching.ts index 89fcd6df6a..5cc39cae13 100644 --- a/src/api/models/othello-matching.ts +++ b/src/api/models/othello-matching.ts @@ -32,6 +32,8 @@ export const pack = ( const _matching = deepcopy(matching); + // Rename _id to id + _matching.id = _matching._id; delete _matching._id; // Populate user |