Skip to content
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: cast to proper interface (#124)
Fixes #123
  • Loading branch information
codyoss authored and chingor13 committed Jan 9, 2020
1 parent 01cbf1e commit cd6eabf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -218,7 +218,7 @@ public B setCredentials(Credentials credentials) {
}

if (this.quotaProjectId == null && credentials instanceof QuotaProjectIdProvider) {
this.quotaProjectId = ((ServiceAccountCredentials) credentials).getQuotaProjectId();
this.quotaProjectId = ((QuotaProjectIdProvider) credentials).getQuotaProjectId();
}
return self();
}
Expand Down

0 comments on commit cd6eabf

Please sign in to comment.