project/{id}/keys/import
endpoint doesn't trigger stats refresh #2677
Closed
Description
Describe the bug
When I use the project/{id}/keys/import
, the statistics doesn't show unless I access the project dashboard (which triggers the sync refresh)
To Reproduce
Steps to reproduce the behavior:
- In empty project, create new key using the
project/{id}/keys/import
endpoint including the base value - Go to project list of your organization
- See "100% untranslated",
Expected behavior
It should show "100% translated", if there is single language in the project
Versions and environment
- Tolgee Platform version: latest