We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a88944 commit a50e854Copy full SHA for a50e854
components/notion/notion.app.mjs
@@ -287,10 +287,9 @@ export default {
287
return this._getNotionClient().dataSources.update(database);
288
},
289
async queryDataSource(dataSourceId, params = {}) {
290
- return this._getNotionClient().request({
291
- method: "POST",
292
- path: `data_sources/${dataSourceId}/query`,
293
- body: params,
+ return this._getNotionClient().dataSources.query({
+ data_source_id: dataSourceId,
+ ...params,
294
});
295
296
async createFileUpload(file) {
0 commit comments