Skip to content

Commit 215039a

Browse files
committed
Pass token through to apps so their methods work
1 parent bacefa1 commit 215039a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Glide.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class Glide {
9696
const response = await this.with(props).get(`/apps`);
9797
if (response.status !== 200) return undefined;
9898
const { data: apps }: { data: IDName[] } = await response.json();
99-
return apps.map(idName => this.app({ ...idName }));
99+
return apps.map(idName => this.app({ ...idName, ...props }));
100100
}
101101

102102
/**

0 commit comments

Comments
 (0)