From 7dd77f3e317658d49db3cb7973fcab42e33c3177 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Thu, 26 May 2022 21:33:30 +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 158a355..e4b0bff 100644 --- a/struct.go +++ b/struct.go @@ -31,7 +31,8 @@ type Config struct { type StaffCheckPermissionBody struct { StaffID string `json:"staffId"` Token string `json:"token"` - Permission string `json:"permission"` + Permission []string `json:"permission"` + Action string `json:"action"` Source string `json:"source"` Code string `json:"code,omitempty"` Payload PayloadCheckPermission `json:"payload"`