Fix summary

This commit is contained in:
Egor Kislitsyn 2020-05-19 17:29:58 +04:00
parent 6609714d66
commit 47ed9ee441
No known key found for this signature in database
GPG Key ID: 1B49CB15B71E7805

View File

@ -19,7 +19,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaScrobbleOperation do
def create_operation do def create_operation do
%Operation{ %Operation{
tags: ["Scrobbles"], tags: ["Scrobbles"],
summary: "Gets user mascot image", summary: "Creates a new Listen activity for an account",
security: [%{"oAuth" => ["write"]}], security: [%{"oAuth" => ["write"]}],
operationId: "PleromaAPI.ScrobbleController.create", operationId: "PleromaAPI.ScrobbleController.create",
requestBody: request_body("Parameters", create_request(), requried: true), requestBody: request_body("Parameters", create_request(), requried: true),