Add ta_update to api ping (#780)

* Add ta_update to api/ping/

* Fix lint
This commit is contained in:
Merlin 2024-08-10 15:46:21 +02:00 committed by GitHub
parent b864813a7b
commit b454391d6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ class PingView(ApiBaseView):
"response": "pong",
"user": request.user.id,
"version": ReleaseVersion().get_local_version(),
"ta_update": ReleaseVersion().get_update(),
}
return Response(data)