Using a Lua module, the after hook for AuthenticateCustom
fires. Fresh data is being saved to a user storage object, but for some reason the after hook for WriteStorageObjects
doesn’t fire.
Any idea why this might be? I’m using the ids from the documentation.
This is the code:
local function on_after_authenticate_custom(context, payload)
print("on_after_authenticate_custom()")
end
local function on_after_write_storage_objects(context, payload)
print("on_after_write_storage_objects()")
end
nk.register_req_after(on_after_authenticate_custom, "AuthenticateCustom")
nk.register_req_after(on_after_write_storage_objects, "WriteStorageObjects")