Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ public interface IWebsiteMessageService

Task SendGetNotificationAsync(List<string> userIds);

Task<List<WebsiteMessageModel>> GetListByTagAsync(List<string> tags);
Task<List<WebsiteMessageModel>> GetListByTagAsync(List<string> tags, string channelCode);
}
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ public async Task SendGetNotificationAsync(List<string> userIds)
await _caller.PostAsync(requestUri, userIds);
}

public async Task<List<WebsiteMessageModel>> GetListByTagAsync(List<string> tags)
public async Task<List<WebsiteMessageModel>> GetListByTagAsync(List<string> tags, string channelCode)
{
var requestUri = $"{_party}/ListByTag";
var options = new { tags = string.Join(",", tags) };
var options = new { tags = string.Join(",", tags), channelCode };
return await _caller.GetAsync<List<WebsiteMessageModel>>(requestUri, options) ?? new();
}
}