From 7f548f0931ee8804a2402bc024bc5cdd875c6741 Mon Sep 17 00:00:00 2001 From: buiphuan0211 <57066954+buiphuan0211@users.noreply.github.com> Date: Tue, 27 Dec 2022 16:37:48 +0700 Subject: [PATCH] fix --- model/supplier_request.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/supplier_request.go b/model/supplier_request.go index 88027f2..7ba0018 100644 --- a/model/supplier_request.go +++ b/model/supplier_request.go @@ -55,6 +55,6 @@ type SupplierCountReq struct { // CheckTokenSupplierPayload ... type CheckTokenSupplierPayload struct { - Token string `json:"token"` - Permissions string `json:"permissions"` + Token string `json:"token"` + Permissions []string `json:"permissions"` }