From df7ff7757375be9f6f352e3cbbcd82e1a9c38a18 Mon Sep 17 00:00:00 2001
From: ale <ale@incal.net>
Date: Fri, 12 Feb 2021 18:12:26 +0000
Subject: [PATCH] Fix a typo in a JSON tag

---
 actions_user.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actions_user.go b/actions_user.go
index 9d6ae8ba..c5fbc19a 100644
--- a/actions_user.go
+++ b/actions_user.go
@@ -109,7 +109,7 @@ type AccountRecoveryRequest struct {
 
 // AccountRecoveryResponse is the response type for AccountRecoveryRequest.
 type AccountRecoveryResponse struct {
-	Hint string `json:"hint,optional"`
+	Hint string `json:"hint,omitempty"`
 }
 
 // Sanitize the request.
-- 
GitLab