coryrwest / B2.NET

.NET library for Backblaze's B2 Cloud Storage
MIT License
62 stars 33 forks source link

possible error in Interface IFiles.GetUploadUrl #25

Closed lucwuyts closed 5 years ago

lucwuyts commented 5 years ago

The BucketId is default a empty string, but this throws a ArgumentNullException

coryrwest commented 5 years ago

You either have to use PersistBucket on Options, or pass a BucketId to the method.

BucketId is only optional if you PersistBucket.