Stream: cds hooks
Topic: back-end cds-hooks
Grahame Grieve (Mar 27 2019 at 02:53):
Is there any way to tell a cds-hooks server that the call is being made in the absence of a user? (e.g. there's no point adding 'interact with the ui' cards but there is a point sending informative cards)
Bryn Rhodes (Mar 27 2019 at 03:06):
Since the userId was moved from the request to the hook context, the presence of a userId in the context data for the request could be used to determine that.
Last updated: Apr 12 2022 at 19:14 UTC