From 97147e9095049eb4f7b08dbf924c0cc0f66df221 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Thu, 26 May 2022 10:25:43 +0700 Subject: [PATCH] [Update] Payload staff sync data --- struct.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/struct.go b/struct.go index 6335567..158a355 100644 --- a/struct.go +++ b/struct.go @@ -30,11 +30,12 @@ type Config struct { // StaffCheckPermissionBody ... type StaffCheckPermissionBody struct { StaffID string `json:"staffId"` + Token string `json:"token"` Permission string `json:"permission"` Source string `json:"source"` Code string `json:"code,omitempty"` Payload PayloadCheckPermission `json:"payload"` - IsRoot bool `json:"isRoot"` + IsRoot string `json:"isRoot"` } // PayloadCheckPermission ...