File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
// ---------------------------------------------------------------------------
2
2
// <copyright file="FossologyClient.cs" company="Tethys">
3
- // Copyright (C) 2019-2022 T. Graf
3
+ // Copyright (C) 2019-2023 T. Graf
4
4
// </copyright>
5
5
//
6
6
// Licensed under the MIT License.
@@ -19,7 +19,6 @@ namespace Fossology.Rest.Dotnet
19
19
using Newtonsoft . Json ;
20
20
21
21
using RestSharp ;
22
- using RestSharp . Serializers ;
23
22
using Tethys . Logging ;
24
23
25
24
/// <summary>
@@ -83,7 +82,7 @@ public VersionInfo GetVersion()
83
82
{
84
83
Log . Debug ( "Getting version info..." ) ;
85
84
86
- var result = this . api . Get ( this . Url + "/version " ) ;
85
+ var result = this . api . Get ( this . Url + "/info " ) ;
87
86
if ( result ? . Content == null )
88
87
{
89
88
throw new FossologyApiException ( ErrorCode . NoValidAnswer ) ;
You can’t perform that action at this time.
0 commit comments