Skip to content

Commit

Permalink
fixes native user snippet (#12875)
Browse files Browse the repository at this point in the history
  • Loading branch information
kahest authored and limbonaut committed Feb 28, 2025
1 parent b2b6a45 commit 6beec38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform-includes/enriching-events/set-user/native.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <sentry.h>

sentry_value_t user = sentry_value_new_object();
sentry_value_set_by_key(user, "ip_address", sentry_value_new_string("\{\{auto}}"));
sentry_value_set_by_key(user, "ip_address", sentry_value_new_string("{{auto}}"));
sentry_value_set_by_key(user, "email", sentry_value_new_string("jane.doe@example.com"));
sentry_set_user(user);
```
Expand Down

0 comments on commit 6beec38

Please sign in to comment.