Add ta_update to api ping (#780)
* Add ta_update to api/ping/ * Fix lint
This commit is contained in:
parent
b864813a7b
commit
b454391d6e
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue