From 71be64db27fe0387b78d6b41fec14edeecb855c0 Mon Sep 17 00:00:00 2001 From: buiphuan0211 <57066954+buiphuan0211@users.noreply.github.com> Date: Tue, 27 Dec 2022 16:16:08 +0700 Subject: [PATCH] edit requestPayload check token supplier --- 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 7ba0018..88027f2 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"` }