Fix google sync (#30524)

This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2020-01-06 22:00:39 +01:00
1 parent a84741392b
commit 05374d7c85
7 files changed
+39 -7

No files matched your search

@@ -64,6 +64,10 @@ class MockConfig(helpers.AbstractConfig):
"""Return local SDK webhook id."""
return self._local_sdk_user_id
def get_agent_user_id(self, context):
"""Get agent user ID making request."""
return context.user_id
def should_expose(self, state):
"""Expose it all."""
return self._should_expose is None or self._should_expose(state)