Verified Commit 2c0c0fcf authored by Mike Jones's avatar Mike Jones 🌶

Fix authentication error

parent b5794224
Pipeline #321 canceled with stage
in 1 minute and 53 seconds
......@@ -4,7 +4,7 @@ license = MIT
copyright_holder = Mike Jones
copyright_year = 2020
version = 0.111
version = 0.112
[TestRelease]
[UploadToCPAN]
......
......@@ -5,7 +5,7 @@ use Types::Standard qw(Bool Int Object Str);
use WebService::Mattermost::V4::API;
our $VERSION = 0.110;
our $VERSION = 0.112;
################################################################################
......
......@@ -46,6 +46,7 @@ sub BUILD {
my $self = shift;
$self->authenticate(1);
$self->next::method(@_);
# Set up expected subroutines for a child class to catch. The events can
# also be caught raw in a script.
......
......@@ -104,3 +104,4 @@ describe 'WebService::Mattermost::V4::Client' => sub {
};
runtests unless caller;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment