Skip to content

Commit 4469a2c

Browse files
committed
Fix projections sample
1 parent 57424ed commit 4469a2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Samples/Tutorials/Projections/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,6 @@ import { DishPrepared } from './DishPrepared';
3939
client.logger.info(`The kitchen has prepared ${name} ${numberOfTimesPrepared} times`);
4040
}
4141

42-
const chef = await client.projections.forTenant(TenantId.development).get<Chef>(Chef, 'Mrs. Tex Mex');
42+
const chef = await client.projections.forTenant(TenantId.development).get(Chef, 'Mrs. Tex Mex');
4343
client.logger.info(`${chef.name} has prepared ${chef.dishes.join(', ')}`);
4444
})();

0 commit comments

Comments
 (0)