Query Everything if no filter provided
This commit is contained in:
parent
1681f7b390
commit
e213d0cc08
@ -236,7 +236,7 @@ export class Collection {
|
||||
* @see {@link EntryData} for more information about entry data.
|
||||
*
|
||||
*/
|
||||
async getEntries(filter: EntryData): Promise<Entry[]> {
|
||||
async getEntries(filter: EntryData={}): Promise<Entry[]> {
|
||||
try {
|
||||
const result = await fetch(`https://api.marcsync.dev/v1/entries/${this._collectionName}?methodOverwrite=GET`, {
|
||||
method: "PATCH",
|
||||
|
Loading…
x
Reference in New Issue
Block a user