Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/dapi/TokenedDataApi.ts')
-rw-r--r--src/server/dapi/TokenedDataApi.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/dapi/TokenedDataApi.ts b/src/server/dapi/TokenedDataApi.ts
index 5059994..3e0c68c 100644
--- a/src/server/dapi/TokenedDataApi.ts
+++ b/src/server/dapi/TokenedDataApi.ts
@@ -79,7 +79,7 @@ export class TokenedDataApi implements DataApi
*/
request(
data: DataApiInput,
- callback: ( e: Error | null, data: DataApiResult | null ) => void,
+ callback: NodeCallback<DataApiResult>,
id: string
): this
{
@@ -144,7 +144,7 @@ export class TokenedDataApi implements DataApi
private _replyUnlessStale(
newtok: Token<TokenState.DONE>,
resp_data: DataApiResult,
- callback: ( e: Error | null, data: DataApiResult | null ) => void,
+ callback: NodeCallback<DataApiResult>,
id: string
): void
{