You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gaghan430 Good point to prevent falsy values, will work on that! But for such operation I suggest to use the .request() method instead, to keep the coding style clean.
so when we use something like
collection.delete(null, { suffix: 'delete' })
,we expect to get
/endpoint/delete
, but what we get is/endpoint//delete
I guess we need to filter out falsy values from this segments https://github.com/mahdaen/metal-data/blob/master/src/request.ts#L84
The text was updated successfully, but these errors were encountered: