From 571f99876be90121c0cfa882d50c8a901d1635a6 Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Mon, 17 May 2021 09:11:26 -0500 Subject: fix warnings --- .../API/Controllers/ConversationsController.cs | 25 ++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'src/slskd/API/Controllers/ConversationsController.cs') diff --git a/src/slskd/API/Controllers/ConversationsController.cs b/src/slskd/API/Controllers/ConversationsController.cs index 10819b86..c21a931b 100644 --- a/src/slskd/API/Controllers/ConversationsController.cs +++ b/src/slskd/API/Controllers/ConversationsController.cs @@ -1,4 +1,21 @@ -namespace slskd.API.Controllers +// +// Copyright (c) slskd Team. All rights reserved. +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see https://www.gnu.org/licenses/. +// + +namespace slskd.API.Controllers { using System; using System.Collections.Generic; @@ -6,13 +23,13 @@ using System.Threading.Tasks; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; - using Soulseek; using slskd.API.DTO; using slskd.Entities; using slskd.Trackers; + using Soulseek; /// - /// Conversations + /// Conversations. /// [Route("api/v{version:apiVersion}/[controller]")] [ApiVersion("0")] @@ -189,7 +206,7 @@ Username = Client.Username, Timestamp = DateTime.UtcNow, Message = message, - Acknowledged = true + Acknowledged = true, }); return StatusCode(201); -- cgit v1.2.3