Skip to content

Commit 05e9f15

Browse files
committed
working
1 parent b70bf5f commit 05e9f15

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

cmd/sourcemaps/upload.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ const (
3333

3434
verifyApiKeyQuery = `
3535
query LDCredential($ld_account_id: String!, $ld_project_id: String!) {
36-
ld_credential(ld_account_id: $ld_account_id, ld_project_id: $ld_project_id)
36+
ld_credential(ld_account_id: $ld_account_id, ld_project_id: $ld_project_id) {
37+
project_id
38+
api_key
39+
}
3740
}
3841
`
3942

@@ -211,7 +214,6 @@ func verifyApiKey(accountID, projectID, backendUrl string) (string, string, erro
211214
if err != nil {
212215
return "", "", err
213216
}
214-
fmt.Println(string(body))
215217

216218
var apiKeyResp ApiKeyResponse
217219
if err := json.Unmarshal(body, &apiKeyResp); err != nil {

0 commit comments

Comments
 (0)