Skip to content

Commit

Permalink
Merge pull request #41 from bb-io/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ce-nistal authored Aug 15, 2024
2 parents 571f0ee + 9d660d9 commit 0f67e1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 5 additions & 3 deletions Apps.Memoq/Actions/ServerProjectActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,12 +213,12 @@ public ProjectDto CreateProjectPackage([ActionParameter] CreateProjectFromPackag
}

[Action("Update a project", Description = "Update info of a specific project")]
public Task UpdateProject([ActionParameter] ProjectRequest project, [ActionParameter] UpdateProjectRequest request)
public async Task UpdateProject([ActionParameter] ProjectRequest project, [ActionParameter] UpdateProjectRequest request)
{
using var projectService = new MemoqServiceFactory<IServerProjectService>(
SoapConstants.ProjectServiceUrl, Creds);

return projectService.Service.UpdateProjectAsync(new()
await projectService.Service.UpdateProjectAsync(new()
{
Deadline = request.Deadline.GetValueOrDefault(),
CallbackWebServiceUrl = request.CallbackUrl,
Expand All @@ -229,6 +229,8 @@ public Task UpdateProject([ActionParameter] ProjectRequest project, [ActionParam
Client = request.Client,
ServerProjectGuid = Guid.Parse(project.ProjectGuid)
});

return;
}

[Action("Delete project", Description = "Delete a specific project")]
Expand Down
2 changes: 1 addition & 1 deletion Apps.Memoq/Apps.MemoQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<Product>memoQ</Product>
<Description>Computer-assisted translation</Description>
<Version>1.3.2</Version>
<Version>1.3.3</Version>
<AssemblyName>Apps.MemoQ</AssemblyName>
<LangVersion>12</LangVersion>
</PropertyGroup>
Expand Down

0 comments on commit 0f67e1e

Please sign in to comment.