Commit 97820f0a authored by JoeyFaulkner's avatar JoeyFaulkner Committed by GitHub

Merge pull request #278 from JoeyFaulkner/bugfix/wrong_callback

accidentally wrote PostWrite instead of PreWrite
parents e6146e86 657a3850
......@@ -123,7 +123,7 @@ class InternalSession:
user = User()
else:
user = self.user
await self.iserver.callback_service.dispatch(CallbackType.PostWrite,
await self.iserver.callback_service.dispatch(CallbackType.PreWrite,
ServerItemCallback(params, None, user))
write_result = await self.iserver.attribute_service.write(params, user=user)
await self.iserver.callback_service.dispatch(CallbackType.PostWrite,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment