You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the authorization.go file within the internal/application/presentation/port/command directory, we need to clean up the code by removing an unused import. The import statement for "context" and the protobuf-related code are no longer necessary as the function CheckAuth has been commented out. This change will help maintain cleaner and more maintainable code by eliminating unnecessary dependencies.
The new version of the code:
package application
// AuthorizationCommandPort is a port for Hexagonal Architecture Pattern.// It is used to communicate with the application layer.typeAuthorizationCommandPortinterface {
// CheckAuth returns true if the user is authorized to perform the action.// CheckAuth(ctx context.Context, authRequest *pb.AuthRequest) (*pb.AuthResponse, error)
}
Additionally, please make sure to push all changes to the feature/hsm/58/auth-service branch.
The text was updated successfully, but these errors were encountered:
In the authorization.go file within the
internal/application/presentation/port/command
directory, we need to clean up the code by removing an unused import. The import statement for "context" and the protobuf-related code are no longer necessary as the function CheckAuth has been commented out. This change will help maintain cleaner and more maintainable code by eliminating unnecessary dependencies.The new version of the code:
Additionally, please make sure to push all changes to the feature/hsm/58/auth-service branch.
The text was updated successfully, but these errors were encountered: