Skip to content

Commit 29bd5bc

Browse files
authored
Merge pull request #367 from prezly/fix/contact-tags-search-api
Fix - Contact tag search API
2 parents e2ed830 + 2f5e081 commit 29bd5bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/endpoints/ContactTags/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export function createClient(api: DeferredJobsApiClient) {
4444

4545
async function search(options: SearchOptions = {}): Promise<SearchResponse> {
4646
const { query, sortOrder } = options;
47-
const { tags } = await api.post<{
47+
const { tags } = await api.get<{
4848
tags: ContactTag[];
4949
}>(routing.contactTagsUrl, {
5050
query: {

0 commit comments

Comments
 (0)