mirror of
https://github.com/twofas/2fas-server.git
synced 2024-12-04 16:20:13 +01:00
fix missing return
This commit is contained in:
parent
42bfac155d
commit
b534c5bf42
@ -68,6 +68,7 @@ func ExtensionRequestPush(syncingApp *Syncing) gin.HandlerFunc {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
log.Errorf("Failed to send push message: %v", err)
|
log.Errorf("Failed to send push message: %v", err)
|
||||||
gCtx.Status(http.StatusInternalServerError)
|
gCtx.Status(http.StatusInternalServerError)
|
||||||
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
gCtx.JSON(http.StatusOK, map[string]string{
|
gCtx.JSON(http.StatusOK, map[string]string{
|
||||||
|
Loading…
Reference in New Issue
Block a user