Skip to content

Commit 9db0ea3

Browse files
committed
Revert "Fix Napi returning type"
This reverts commit d55c6ac.
1 parent d55c6ac commit 9db0ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class DDWAF : public Napi::ObjectWrap<DDWAF> {
2323
explicit DDWAF(const Napi::CallbackInfo& info);
2424

2525
// JS instance methods
26-
Napi::Boolean update_config(const Napi::CallbackInfo& info);
27-
Napi::Boolean remove_config(const Napi::CallbackInfo& info);
26+
Napi::Value update_config(const Napi::CallbackInfo& info);
27+
Napi::Value remove_config(const Napi::CallbackInfo& info);
2828
Napi::Value GetConfigPaths(const Napi::CallbackInfo& info);
2929
Napi::Value createContext(const Napi::CallbackInfo& info);
3030
void Finalize(Napi::Env env);

0 commit comments

Comments
 (0)