From 470216f2d8a37b747d4c8f0b3c1a8fa3f0215793 Mon Sep 17 00:00:00 2001 From: Uku Taht Date: Thu, 13 Aug 2020 14:13:18 +0300 Subject: [PATCH] Use updated auth in Google data --- lib/plausible/google/api.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plausible/google/api.ex b/lib/plausible/google/api.ex index 7cc350a53..9420fa56a 100644 --- a/lib/plausible/google/api.ex +++ b/lib/plausible/google/api.ex @@ -70,7 +70,7 @@ defmodule Plausible.Google.Api do dimensionFilterGroups: filter_groups || %{} }), "Content-Type": "application/json", - Authorization: "Bearer #{site.google_auth.access_token}" + Authorization: "Bearer #{auth.access_token}" ) case res.status_code do