Skip to content

Commit

Permalink
add missing dependent key in README
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoow committed Apr 23, 2021
1 parent fa8506f commit 85204d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ import { inject as service } from '@ember/service';
export default class ApplicationAdapter extends JSONAPIAdapter {
@service session;

@computed('session.data.authenticated.access_token')
@computed('session.{data.authenticated.access_token,isAuthenticated}')
get headers() {
let headers = {};
if (this.session.isAuthenticated) {
Expand Down

0 comments on commit 85204d2

Please sign in to comment.