Update Sites

This commit is contained in:
aditya.siregar
2024-08-18 22:15:49 +07:00
parent c41485041c
commit 0e5b58ddfb
2 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ func (h *Handler) Create(c *gin.Context) {
return
}
if !ctx.IsSuperAdmin() {
if !ctx.IsAdmin() {
req.PartnerID = ctx.GetPartnerID()
}