Skip to content

Commit

Permalink
remove leaked keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Jan 23, 2025
1 parent 0f50d01 commit fac6fb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/samples/pubnub_api_enforcement_sample.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ int main()
char* my_env_publish_key = getenv("PUBNUB_PUBLISH_KEY");
char* my_env_subscribe_key = getenv("PUBNUB_SUBSCRIBE_KEY");

if (NULL == my_env_publish_key) { my_env_publish_key = "pub-c-3c19dc89-6dd9-4ecf-be7e-01ea81d284d2"; }
if (NULL == my_env_subscribe_key) { my_env_subscribe_key = "sub-c-e9c43746-6c7f-44da-b292-8c50c0e4c39e"; }
if (NULL == my_env_publish_key) { my_env_publish_key = "demo"; }
if (NULL == my_env_subscribe_key) { my_env_subscribe_key = "demo"; }

pubnub_init(pbp_sync, my_env_publish_key, my_env_subscribe_key);
pubnub_init(pbp_callback, my_env_publish_key, my_env_subscribe_key);
Expand Down

0 comments on commit fac6fb6

Please sign in to comment.