another fix
This commit is contained in:
@@ -17,6 +17,7 @@ import (
|
||||
|
||||
type Config struct {
|
||||
DBDriver string
|
||||
APIURL string
|
||||
StorageEndpoint string
|
||||
StorageBucket string
|
||||
StorageUseSSL bool
|
||||
@@ -67,6 +68,7 @@ func (h *Handler) Diagnostics(c *gin.Context) {
|
||||
writeJSON(c, http.StatusOK, map[string]any{
|
||||
"environment": "development",
|
||||
"now": time.Now().UTC().Format(time.RFC3339),
|
||||
"url": h.config.APIURL,
|
||||
"user": map[string]string{
|
||||
"id": user.ID.String(),
|
||||
"email": user.Email,
|
||||
|
||||
Reference in New Issue
Block a user