Skip to content

Commit

Permalink
add if-none-match tag to activity put
Browse files Browse the repository at this point in the history
  • Loading branch information
garemoko committed Sep 12, 2017
1 parent 389fa42 commit 2280c3a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/RemoteLRS.php
Original file line number Diff line number Diff line change
Expand Up @@ -909,6 +909,9 @@ public function saveActivityProfile($activity, $id, $content) {
if (isset($options['etag'])) {
$requestCfg['headers']['If-Match'] = $options['etag'];
}
else {
$requestCfg['headers']['If-None-Match'] = '*';
}
}
}

Expand Down

0 comments on commit 2280c3a

Please sign in to comment.