Skip to content

Commit

Permalink
Fixed bug where Hasura was renamed to HasuraClient in the role header
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaison Titus committed Aug 2, 2017
1 parent b0f03e7 commit 646eb25
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Response intercept(Chain chain) throws IOException {
}

if (role != null) {
builder.addHeader("X-HasuraClient-Role", role);
builder.addHeader("X-Hasura-Role", role);
}
return chain.proceed(builder.build());
}
Expand Down

0 comments on commit 646eb25

Please sign in to comment.