Parcourir la source

fix: update UTC time format for consistency (#13471)

tags/1.0.0
Xin Zhang il y a 8 mois
Parent
révision
0957119550
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      api/controllers/inner_api/workspace/workspace.py

+ 2
- 2
api/controllers/inner_api/workspace/workspace.py Voir le fichier

@@ -50,8 +50,8 @@ class EnterpriseWorkspaceNoOwnerEmail(Resource):
"plan": tenant.plan,
"status": tenant.status,
"custom_config": json.loads(tenant.custom_config) if tenant.custom_config else {},
"created_at": tenant.created_at.isoformat() if tenant.created_at else None,
"updated_at": tenant.updated_at.isoformat() if tenant.updated_at else None,
"created_at": tenant.created_at.isoformat() + "Z" if tenant.created_at else None,
"updated_at": tenant.updated_at.isoformat() + "Z" if tenant.updated_at else None,
}

return {

Chargement…
Annuler
Enregistrer