date-times are always strings
authorMiss Pasture <atsmdq@gmail.com>
Wed, 31 Mar 2021 06:51:22 +0000 (06:51 +0000)
committerMiss Pasture <atsmdq@gmail.com>
Wed, 31 Mar 2021 06:51:22 +0000 (06:51 +0000)
lib/pleroma/web/api_spec/operations/account_operation.ex

index 54e5ebc76e2ae943e02b3026d85799f7cf511641..08d68893a3028f305687238694377a630fb75468 100644 (file)
@@ -482,7 +482,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
         access_token: %Schema{type: :string},
         refresh_token: %Schema{type: :string},
         scope: %Schema{type: :string},
-        created_at: %Schema{type: :integer, format: :"date-time"},
+        created_at: %Schema{type: :string, format: :"date-time"},
         me: %Schema{type: :string},
         expires_in: %Schema{type: :integer},
         #