Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Apps.Drupal/Actions/JobActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

namespace Apps.Drupal.Actions;

[ActionList]
[ActionList("Job")]
public class JobActions(InvocationContext invocationContext, IFileManagementClient fileManagementClient) : AppInvocable(invocationContext)
{
[Action("Search jobs", Description = "Get jobs by specified search parameters")]
Expand Down
3 changes: 2 additions & 1 deletion Apps.Drupal/Api/ApiClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using System.Web;
using Apps.Drupal.Constants;
using Blackbird.Applications.Sdk.Common.Authentication;
using Blackbird.Applications.Sdk.Common.Exceptions;
using Blackbird.Applications.Sdk.Utils.Extensions.Sdk;
using Blackbird.Applications.Sdk.Utils.RestSharp;
using RestSharp;
Expand Down Expand Up @@ -32,7 +33,7 @@ protected override Exception ConfigureErrorException(RestResponse response)
errorMessage += $", Error: {response.StatusDescription}";
}

return new Exception(errorMessage);
throw new PluginApplicationException(errorMessage);
}

private string ExtractErrorMessage(string content, string? contentType)
Expand Down
6 changes: 3 additions & 3 deletions Apps.Drupal/Apps.Drupal.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@
<Nullable>enable</Nullable>
<Product>Drupal</Product>
<Description>Drupal is a free, open-source content management system (CMS) with a large, supportive community. It’s used by millions of people and organizations around the globe to build and maintain their websites.</Description>
<Version>1.0.3</Version>
<Version>1.0.4</Version>
<PackageId>Apps.Drupal</PackageId>
<AssemblyName>Apps.Drupal</AssemblyName>
<RootNamespace>Apps.Drupal</RootNamespace>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Blackbird.Applications.Sdk.Common" Version="2.10.0" />
<PackageReference Include="Blackbird.Applications.SDK.Blueprints" Version="1.0.0-rc.10308" />
<PackageReference Include="Blackbird.Applications.SDK.Extensions.FileManagement" Version="1.0.2-alpha2" />
<PackageReference Include="Blackbird.Applications.Sdk.Utils" Version="1.0.25" />
<PackageReference Include="HtmlAgilityPack" Version="1.11.70" />
</ItemGroup>

<ItemGroup>
<EmbeddedResource CopyToOutputDirectory="Always" Include="image\icon.png"/>
<EmbeddedResource CopyToOutputDirectory="Always" Include="image\icon.png" />
</ItemGroup>

</Project>