Skip to content

Commit 2280c3a

Browse files
committed
add if-none-match tag to activity put
1 parent 389fa42 commit 2280c3a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/RemoteLRS.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,9 @@ public function saveActivityProfile($activity, $id, $content) {
909909
if (isset($options['etag'])) {
910910
$requestCfg['headers']['If-Match'] = $options['etag'];
911911
}
912+
else {
913+
$requestCfg['headers']['If-None-Match'] = '*';
914+
}
912915
}
913916
}
914917

0 commit comments

Comments
 (0)