From 4503186691e8f1c009aa48701abbf106f18d69fe Mon Sep 17 00:00:00 2001 From: Hanan Othman Date: Wed, 8 Jan 2020 16:44:28 -0500 Subject: [PATCH] Updates the client to use the v1 API. --- api.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api.go b/api.go index 596cfc4..bd1b8e4 100644 --- a/api.go +++ b/api.go @@ -28,8 +28,8 @@ import ( ) const ( - findHashPath = "v1beta1/hashes:search" - fetchUpdatePath = "v1beta1/threatLists:computeDiff" + findHashPath = "v1/hashes:search" + fetchUpdatePath = "v1/threatLists:computeDiff" threatTypeString = "threat_type" versionTokenString = "version_token" supportedCompressionsString = "constraints.supported_compressions"