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

Commit

Permalink
fix: cast to proper interface (#124)
Browse files Browse the repository at this point in the history
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.
Original file line number Diff line number Diff line change
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.