aboutsummaryrefslogtreecommitdiff
path: root/api/api.ts
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-10 16:06:42 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-10 16:06:42 +0100
commit6fbf48dcd658db76d6ccd375ac9e8b0f5123df18 (patch)
treeb1ab5050adbfb73c06af51cc884a2703747a5951 /api/api.ts
parent91e284d685dab7525c9526be1cb264a7a9c65c5c (diff)
/user/games opponent user_format + oppponent fix
Diffstat (limited to 'api/api.ts')
-rw-r--r--api/api.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.ts b/api/api.ts
index 0b37441..1db6e0e 100644
--- a/api/api.ts
+++ b/api/api.ts
@@ -50,7 +50,7 @@ export interface gameInfo {
duration: number;
id: string;
moves: Array<number>;
- opponent: string;
+ opponent: userInfo;
outcome: outcome;
parent?: string;
private: boolean;