Skip to content

Commit

Permalink
Merge pull request #5 from upwork/v2.1.3
Browse files Browse the repository at this point in the history
v2.1.3
  • Loading branch information
mnovozhylov committed Jun 25, 2021
2 parents 70ac815 + 5bbd111 commit 17bbd32
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Build.PL
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ my $builder = Module::Build->new(
module_name => 'Net::Upwork::API',
license => 'apache',
dist_author => 'Maksym Novozhylov <mnovozhilov@upwork.com>',
dist_version => '2.1.2',
dist_version => '2.1.3',
dist_abstract => 'Perl bindings for Upwork API (OAuth2)',
build_requires => {
'Test::More' => '0.66',
Expand Down
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 2.1.3
* Fixed HR module

## 2.1.1
* Add Room Messages API

Expand Down
2 changes: 1 addition & 1 deletion lib/Net/Upwork/API.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use warnings;
use Net::Upwork::API::Config;
use Net::Upwork::API::Client;

our $VERSION = '2.1.2';
our $VERSION = '2.1.3';

use constant TOKEN_TYPE_BEARER => 'Bearer';

Expand Down
8 changes: 4 additions & 4 deletions lib/Net/Upwork/API/Routers/Hr/Jobs.pm
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ sub get_list {
my $self = shift;
my %params = @_;

return $self->client()->get("/hr/v2jobs", %params);
return $self->client()->get("/hr/v2/jobs", %params);
}

=item get_specific
Expand Down Expand Up @@ -112,7 +112,7 @@ sub post_job {
my $self = shift;
my %params = @_;

return $self->client()->post("/hr/v2jobs", %params);
return $self->client()->post("/hr/v2/jobs", %params);
}

=item edit_job
Expand Down Expand Up @@ -140,7 +140,7 @@ sub edit_job {
my $key = shift;
my %params = @_;

return $self->client()->put("/hr/v2jobs/" . $key, %params);
return $self->client()->put("/hr/v2/jobs/" . $key, %params);
}

=item delete_job
Expand Down Expand Up @@ -168,7 +168,7 @@ sub delete_job {
my $key = shift;
my %params = @_;

return $self->client()->delete("/hr/v2jobs/" . $key, %params);
return $self->client()->delete("/hr/v2/jobs/" . $key, %params);
}

=back
Expand Down

0 comments on commit 17bbd32

Please sign in to comment.