FIX: sending access token to role function to evaluate editing permissions

This commit is contained in:
Gabriel Rosa
2022-08-01 09:17:08 -03:00
parent d76a2b4ab8
commit ebbfe0abff
9 changed files with 164 additions and 78 deletions
+1
View File
@@ -10,6 +10,7 @@ export interface RequestUser {
customer_id: string;
customer_name: string;
customer_tier: string;
access_token: string;
}
export const User: (options?: { required?: boolean }) => ParameterDecorator =