Skip to content

Commit 2a4b987

Browse files
authored
fixes native user snippet (#12875)
1 parent b61cf6a commit 2a4b987

File tree

1 file changed

+1
-1
lines changed
  • platform-includes/enriching-events/set-user

1 file changed

+1
-1
lines changed

platform-includes/enriching-events/set-user/native.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#include <sentry.h>
33

44
sentry_value_t user = sentry_value_new_object();
5-
sentry_value_set_by_key(user, "ip_address", sentry_value_new_string("\{\{auto}}"));
5+
sentry_value_set_by_key(user, "ip_address", sentry_value_new_string("{{auto}}"));
66
sentry_value_set_by_key(user, "email", sentry_value_new_string("jane.doe@example.com"));
77
sentry_set_user(user);
88
```

0 commit comments

Comments
 (0)