From 07f17264500c388cb039eb33cdd89bc4f54d9505 Mon Sep 17 00:00:00 2001
From: Kapil Viren Ahuja <kvahuja@users.noreply.github.com>
Date: Thu, 16 Feb 2017 22:18:04 +0530
Subject: 1. using the right table names in SQL. 2. also put in some exception
 handling which spits out the error and moves on instead of exiting (#11)

* 1. using the right table names in SQL. 2. also put in some exception handling which spits out the error and moves on instead of exiting

* ID in participant table is  participant ID. we need a mapping for player ID in Web to get a player's matches.
---
 queries/match_results.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'queries/match_results.sql')

diff --git a/queries/match_results.sql b/queries/match_results.sql
index b1e750b..c493d5c 100644
--- a/queries/match_results.sql
+++ b/queries/match_results.sql
@@ -19,4 +19,4 @@ FALSE AS "surrender",
 0 AS "afkCount",
 0 AS "afkTime"
 
-FROM apidata WHERE type='roster'
+FROM roster
-- 
cgit v1.3.1

