本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
lain.church
說明
註冊
登入
squeegily
/
pleroma
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
42
Wiki
活動
瀏覽代碼
AccountView: `sensitive` is supposed to be a boolean, not a string
tags/v0.9.9
Martin Kühl
5 年之前
父節點
2e2f458705
當前提交
b60d232719
共有
2 個檔案被更改
,包括
2 行新增
和
2 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
lib/pleroma/web/mastodon_api/views/account_view.ex
+1
-1
test/web/mastodon_api/account_view_test.exs
+ 1
- 1
lib/pleroma/web/mastodon_api/views/account_view.ex
查看文件
@@ -47,7 +47,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
source: %{
note: "",
privacy: user_info.default_scope,
sensitive:
"
false
"
sensitive: false
}
}
end
+ 1
- 1
test/web/mastodon_api/account_view_test.exs
查看文件
@@ -52,7 +52,7 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
source: %{
note: "",
privacy: "public",
sensitive:
"
false
"
sensitive: false
}
}
Write
Preview
Loading…
取消
儲存