Add License Integration

This commit is contained in:
aditya.siregar
2024-08-02 00:51:54 +07:00
parent 5e26402c10
commit c1ae2fd14a
9 changed files with 92 additions and 29 deletions
+4
View File
@@ -82,6 +82,10 @@ func (h *AuthHandler) AuthLogin(c *gin.Context) {
},
Site: site,
ResetPassword: authUser.ResetPassword,
PartnerLicense: &response.PartnerLicense{
DaysToExpire: authUser.PartnerLicense.DaysToExpire,
Status: authUser.PartnerLicense.LicenseStatus,
},
}
c.JSON(http.StatusOK, response.BaseResponse{