File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ func NewHandlers(
234
234
getAPIRouterNoError (apiRouter )("/aopp/cancel" , handlers .postAOPPCancelHandler ).Methods ("POST" )
235
235
getAPIRouterNoError (apiRouter )("/aopp/approve" , handlers .postAOPPApproveHandler ).Methods ("POST" )
236
236
getAPIRouter (apiRouter )("/aopp/choose-account" , handlers .postAOPPChooseAccountHandler ).Methods ("POST" )
237
- getAPIRouter (apiRouter )("/cancel-connect-keystore" , handlers .postCancelConnectKeystoreHandler ).Methods ("POST" )
237
+ getAPIRouterNoError (apiRouter )("/cancel-connect-keystore" , handlers .postCancelConnectKeystoreHandler ).Methods ("POST" )
238
238
getAPIRouterNoError (apiRouter )("/set-watchonly" , handlers .postSetWatchonlyHandler ).Methods ("POST" )
239
239
240
240
devicesRouter := getAPIRouterNoError (apiRouter .PathPrefix ("/devices" ).Subrouter ())
@@ -1286,9 +1286,9 @@ func (handlers *Handlers) postAOPPApproveHandler(r *http.Request) interface{} {
1286
1286
return nil
1287
1287
}
1288
1288
1289
- func (handlers * Handlers ) postCancelConnectKeystoreHandler (r * http.Request ) ( interface {}, error ) {
1289
+ func (handlers * Handlers ) postCancelConnectKeystoreHandler (r * http.Request ) interface {} {
1290
1290
handlers .backend .CancelConnectKeystore ()
1291
- return nil , nil
1291
+ return nil
1292
1292
}
1293
1293
1294
1294
func (handlers * Handlers ) postSetWatchonlyHandler (r * http.Request ) interface {} {
You can’t perform that action at this time.
0 commit comments