Change user.deactivated field to user.is_active
[akkoma] / lib / pleroma / web / api_spec / operations / pleroma_scrobble_operation.ex
index 779b8f84c55d2cdcac9f0aeb0538833eb13ab2b5..6a909fc85e28e577a0949b853c176cd9e4a22e42 100644 (file)
@@ -1,5 +1,5 @@
 # Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>
 # SPDX-License-Identifier: AGPL-3.0-only
 
 defmodule Pleroma.Web.ApiSpec.PleromaScrobbleOperation do
@@ -19,7 +19,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaScrobbleOperation do
   def create_operation do
     %Operation{
       tags: ["Scrobbles"],
-      summary: "Gets user mascot image",
+      summary: "Creates a new Listen activity for an account",
       security: [%{"oAuth" => ["write"]}],
       operationId: "PleromaAPI.ScrobbleController.create",
       requestBody: request_body("Parameters", create_request(), requried: true),