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 215039a commit 6ab98c0Copy full SHA for 6ab98c0
src/App.ts
@@ -32,13 +32,13 @@ export class App {
32
* @returns A promise that resolves to an array of tables if successful, or undefined.
33
*/
34
public async getTables() {
35
- const { id } = this.props;
+ const { id, token } = this.props;
36
const result = await this.glide.get(`/apps/${id}/tables`);
37
38
if (result.status !== 200) return undefined;
39
40
const { data: tables }: { data: IDName[] } = await result.json();
41
- return tables.map(t => this.table({ table: t.id, name: t.name, columns: {} }));
+ return tables.map(t => this.table({ table: t.id, name: t.name, columns: {}, token }));
42
}
43
44
/**
0 commit comments