access tokenが取得できるように

This commit is contained in:
keita
2022-04-23 04:55:43 +09:00
parent d43e04506b
commit 560fe707a6
75 changed files with 591 additions and 193 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ void Upload::media(const std::string& _media) {
void Upload::mediaId(const std::string& _mediaId) {}
CocoaTweet::API::Model::MediaStore Upload::process(
std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth) {
std::weak_ptr<CocoaTweet::Authentication::AuthenticatorBase> _oauth) {
auto extension = std::filesystem::path(media_).extension().string<char>();
if (mimeType.count(extension) == 0) {
throw new CocoaTweet::Exception::UnsupportedMediaTypeException(