Skip to content

Commit 16ad5cb

Browse files
committed
feat: use new endpoint after the old one got removed
1 parent 637b148 commit 16ad5cb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Fossology.Rest.Dotnet/FossologyClient.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ---------------------------------------------------------------------------
22
// <copyright file="FossologyClient.cs" company="Tethys">
3-
// Copyright (C) 2019-2022 T. Graf
3+
// Copyright (C) 2019-2023 T. Graf
44
// </copyright>
55
//
66
// Licensed under the MIT License.
@@ -19,7 +19,6 @@ namespace Fossology.Rest.Dotnet
1919
using Newtonsoft.Json;
2020

2121
using RestSharp;
22-
using RestSharp.Serializers;
2322
using Tethys.Logging;
2423

2524
/// <summary>
@@ -83,7 +82,7 @@ public VersionInfo GetVersion()
8382
{
8483
Log.Debug("Getting version info...");
8584

86-
var result = this.api.Get(this.Url + "/version");
85+
var result = this.api.Get(this.Url + "/info");
8786
if (result?.Content == null)
8887
{
8988
throw new FossologyApiException(ErrorCode.NoValidAnswer);

0 commit comments

Comments
 (0)