Skip to content

Commit

Permalink
0.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jul 12, 2017
1 parent 1bb4696 commit 706960f
Show file tree
Hide file tree
Showing 10 changed files with 123 additions and 536 deletions.
2 changes: 1 addition & 1 deletion API/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ abstract protected function accept();
*/
final protected function headers() {return [
'Accept' => "application/{$this->accept()}"
,'Authorization' => 'Bearer ' . OAuth::token()
,'Authorization' => 'Bearer ' . df_oauth_app($this)->token()
// 2017-07-03
// «The current OData version is 4.0, but future versions may allow for new capabilities.
// To ensure that there is no ambiguity about the OData version
Expand Down
267 changes: 0 additions & 267 deletions API/OAuth.php

This file was deleted.

Loading

0 comments on commit 706960f

Please sign in to comment.