Skip to content

Commit 63c4780

Browse files
authored
Change x-p-tags to x-p-tag (#111)
Fixes #110
1 parent 2225557 commit 63c4780

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Try out Parseable server with our demo instance. Send log data to default log st
4848
```sh
4949
curl --location --request POST 'https://demo.parseable.io/api/v1/logstream/frontend' \
5050
--header 'X-P-META-meta1: value1' \
51-
--header 'X-P-TAGS-tag1: value1' \
51+
--header 'X-P-TAG-tag1: value1' \
5252
--header 'Authorization: Basic cGFyc2VhYmxlOnBhcnNlYWJsZQ==' \
5353
--header 'Content-Type: application/json' \
5454
--data-raw '[

server/src/handlers/event.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ use crate::storage::ObjectStorage;
3131
use crate::utils::header_parsing::collect_labelled_headers;
3232
use crate::utils::{self, merge};
3333

34-
const PREFIX_TAGS: &str = "x-p-tags-";
34+
const PREFIX_TAGS: &str = "x-p-tag-";
3535
const PREFIX_META: &str = "x-p-meta-";
3636
const SEPARATOR: char = '^';
3737

0 commit comments

Comments
 (0)