ui: changed calls for edit caches to use repo id instead of a name for safer calls to repos which paths have special characters

This commit is contained in:
RhodeCode Admin 2024-11-27 13:14:40 +01:00
parent 31ff8f7384
commit f687bfc994

View file

@ -10,7 +10,7 @@
${_('Cache purge can be automated by such api call. Can be called periodically in crontab etc.')}
<br/>
<code>
${h.api_call_example(method='invalidate_cache', args={"repoid": c.rhodecode_db_repo.repo_name})}
${h.api_call_example(method='invalidate_cache', args={"repoid": c.rhodecode_db_repo.repo_id})}
</code>
</p>