mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 19:53:47 +08:00
Before: <img width="982" height="179" alt="SCR-20260624-lfcu" src="https://github.com/user-attachments/assets/685ac3b8-e733-4ec8-9be0-72a7ca3bf811" /> After: <img width="971" height="166" alt="SCR-20260624-ldxx" src="https://github.com/user-attachments/assets/444ea98b-bdf0-49d6-8633-73f1494b6806" /> --------- Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
15 lines
402 B
Ruby
Vendored
15 lines
402 B
Ruby
Vendored
# frozen_string_literal: true
|
|
|
|
class DiscourseVersionCheckSerializer < ApplicationSerializer
|
|
attributes :latest_version,
|
|
:latest_pretty_version,
|
|
:latest_sha,
|
|
:critical_updates,
|
|
:installed_version,
|
|
:installed_sha,
|
|
:installed_describe,
|
|
:missing_versions_count,
|
|
:updated_at
|
|
|
|
self.root = false
|
|
end
|