Skip to content

Commit 90335b3

Browse files
committed
server/types/apiKey: update toJson method return type to IApiKey
1 parent aae6687 commit 90335b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/types/apiKey.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export interface IApiKey extends VirtualId, MongooseTimestamps {
1515
export interface ApiKeyDocument
1616
extends IApiKey,
1717
Omit<Document<Types.ObjectId>, 'id'> {
18-
toJSON(options?: any): SanitisedApiKey;
19-
toObject(options?: any): SanitisedApiKey;
18+
toJSON(options?: any): IApiKey;
19+
toObject(options?: any): IApiKey;
2020
}
2121

2222
/**

0 commit comments

Comments
 (0)