Skip to content

Commit f911bd9

Browse files
committed
Mark found caches in 'garmin' method
1 parent f8cacb5 commit f911bd9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

okapi/services/caches/formatters/garmin.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,9 @@ public static function call(OkapiRequest $request)
8989
'location_source' => $location_source,
9090
'location_change_prefix' => $location_change_prefix
9191
);
92+
if ($request->token !== null) {
93+
$data_method_params['mark_found'] = 'true';
94+
}
9295
$data_contents = OkapiServiceRunner::call($data_method, new OkapiInternalRequest(
9396
$request->consumer, $request->token, $data_method_params
9497
))->get_body();

0 commit comments

Comments
 (0)