From 5aeb7cd4c962477545b50ad55c793a2f7e201eff Mon Sep 17 00:00:00 2001 From: Max Steffen Date: Thu, 11 Jul 2019 23:11:01 +0200 Subject: [PATCH] fix error for project url creation on publish --- firebase-remote-config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firebase-remote-config b/firebase-remote-config index 5a2be01..ce17107 100755 --- a/firebase-remote-config +++ b/firebase-remote-config @@ -108,7 +108,9 @@ def _publish(args): with open(args.file, 'r', encoding='utf-8') as f: content = f.read() - url, access_token = _get_access_token(args.account) + access_token = _get_access_token(args.account) + project_id = _get_project_id(args.account) + url = _get_project_url(project_id) headers = { 'Authorization': 'Bearer ' + access_token, 'Content-Type': 'application/json; UTF-8',