mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2026-07-25 10:57:37 +00:00
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>
17 lines
306 B
YAML
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
|