From 0f6c4e7e4d44314707535e2d7e3aba7b638cd2dd Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Sat, 21 Mar 2020 16:11:31 +0300
Subject: fix: add more missing types :ok_hand:

---
 src/pages/Timer/Timer.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/Timer/Timer.tsx')

diff --git a/src/pages/Timer/Timer.tsx b/src/pages/Timer/Timer.tsx
index 3ceb674..a890815 100644
--- a/src/pages/Timer/Timer.tsx
+++ b/src/pages/Timer/Timer.tsx
@@ -37,7 +37,7 @@ const Timer: React.FC<PropTypes> = ({ user, recentSolutions, setRecentSolutions,
   const classes = useStyles();
 
   const registerResult = (result: string): void => {
-    const solution = { author_id: user.id, result };
+    const solution = { 'author_id': user.id, result };
     post('solutions/', solution).then(response => {
       setRecentSolutions([response.data].concat(recentSolutions));
     });
-- 
cgit v1.2.3

