From e6512d770c8e020e9ced81291dddd7bc1881b863 Mon Sep 17 00:00:00 2001 From: trunglt251292 Date: Tue, 14 Jun 2022 14:31:02 +0700 Subject: [PATCH] [Update] Check permission --- struct.go | 1 + 1 file changed, 1 insertion(+) diff --git a/struct.go b/struct.go index d5e5c4a..5e394e6 100644 --- a/struct.go +++ b/struct.go @@ -84,6 +84,7 @@ type PayloadCheckPermission struct { type StaffCheckPermissionResponse struct { Message string `json:"message"` IsValid bool `json:"isValid"` + Code int `json:"code"` } // StaffGetPermissions ...