Use updated auth in Google data

pull/287/head
Uku Taht 6 years ago
parent ff64fccb18
commit 470216f2d8

@ -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

Loading…
Cancel
Save