Skip to content

Commit 9e3eb78

Browse files
ggazzoclaude
andauthored
chore(api): add default type parameter to forbidden() method (#39815)
Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
1 parent f0e401b commit 9e3eb78

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/meteor/app/api/server/ApiClass.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ export class APIClass<TBasePath extends string = '', TOperations extends Record<
373373
};
374374
}
375375

376-
public forbidden<T>(msg?: T): ForbiddenResult<T> {
376+
public forbidden<T = string>(msg?: T): ForbiddenResult<T> {
377377
return {
378378
statusCode: 403,
379379
body: {

0 commit comments

Comments
 (0)