diff --git a/src/main.cc b/src/main.cc index 288a65f..a9728f3 100644 --- a/src/main.cc +++ b/src/main.cc @@ -81,7 +81,7 @@ void SpawnAsAdmin(const Nan::FunctionCallbackInfo& info) { } } -void Init(Handle exports) { +void Init(v8::Local exports) { Nan::SetMethod(exports, "getAuthorizationForm", GetAuthorizationForm); Nan::SetMethod(exports, "clearAuthorizationCache", ClearAuthorizationCache); Nan::SetMethod(exports, "spawnAsAdmin", SpawnAsAdmin);