Fixed parameter (#488)

Co-authored-by: Roman Mirzoyan <h500p1a@s-mxs.net>
This commit is contained in:
Roman Mirzoyan 2023-01-28 19:29:16 +01:00 committed by GitHub
parent dc5d15a455
commit 5c1a567c04
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ public enum Accounts: Endpoint {
params.append(.init(name: "only_media", value: onlyMedia ? "true" : "false"))
}
if let excludeReplies {
params.append(.init(name: "exclude_replies", value: excludeReplies ? "true" : "fals"))
params.append(.init(name: "exclude_replies", value: excludeReplies ? "true" : "false"))
}
if let pinned {
params.append(.init(name: "pinned", value: pinned ? "true" : "false"))