This commit is contained in:
tastytea 2020-01-11 14:13:55 +01:00
parent f0a35bfd5b
commit 18de12c762
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ int main()
const mastodonpp::parametermap parameters
{
{"status", "How is the wheather?"},
{"status", "How is the weather?"},
{"poll[options]", vector<string_view>{"Nice", "not nice"}},
{"poll[expires_in]", "86400"}
};

View File

@ -49,7 +49,7 @@ int main(int argc, char *argv[])
constexpr auto poll_seconds{60 * 60 * 24 * 2}; // 2 days.
const masto::parametermap parameters
{
{"status", "How is the wheather?"},
{"status", "How is the weather?"},
{"poll[options]", vector<string_view>{"Nice", "not nice"}},
{"poll[expires_in]", to_string(poll_seconds)}
};