gitforge/models/fixtures/language_stat.yml
Gusted 6c85dffb78 fix: load repo language for converting to api struct (#12737)
Load the primary language of the repository when it's converted to a API struct. This is simpler than adding `LoadAttributes` to a lot of places.

Resolves forgejo/forgejo#12729

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12737
Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
2026-05-28 17:00:40 +02:00

17 lines
306 B
YAML

-
id: 1
repo_id: 1
commit_id: 65f1bf27bc3bf70f64657658635e66094edbcb4d
is_primary: true
language: 'Go'
size: 1023
created_unix: 1779733547
-
id: 2
repo_id: 1
commit_id: 65f1bf27bc3bf70f64657658635e66094edbcb4d
is_primary: false
language: 'PHP'
size: 1
created_unix: 1779733547