Added functionality to upload a song. Need to write parse classes to parse the base API HTTP endpoint, and the source path. #7
This commit is contained in:
@@ -103,7 +103,6 @@ namespace Managers
|
||||
flg = Flags{};
|
||||
continue;
|
||||
}
|
||||
cout<<"\nprovided flag: "<<flag<<endl;
|
||||
if (std::any_of(supportedFlags.begin(), supportedFlags.end(),
|
||||
[&](string val)
|
||||
{
|
||||
@@ -113,7 +112,6 @@ namespace Managers
|
||||
return !val.compare(flag);
|
||||
}))
|
||||
{
|
||||
cout<<"Flag : "<<flag<<" is valid"<<endl;
|
||||
flg.flag = flag;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user