fix
This commit is contained in:
parent
e24b9ceac9
commit
b67a96f1ae
|
@ -162,7 +162,7 @@ func (l *UserEmailConfirmationLogic) AfterLogic(w http.ResponseWriter, r *http.R
|
||||||
</body>
|
</body>
|
||||||
</html>`
|
</html>`
|
||||||
// w.Write([]byte(successHtml))
|
// w.Write([]byte(successHtml))
|
||||||
httpx.OkJsonCtx(r.Context(), w, successHtml)
|
httpx.OkJsonCtx(r.Context(), w, []byte(successHtml))
|
||||||
} else {
|
} else {
|
||||||
httpx.OkJsonCtx(r.Context(), w, resp)
|
httpx.OkJsonCtx(r.Context(), w, resp)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user