+7
private_search_page.js
+7
private_search_page.js
···
168
if (cursor) params.cursor = cursor;
169
170
response = await this.lycan.getRequest('blue.feeds.lycan.searchPosts', params);
171
+
} else {
172
+
let params = { query: query };
173
+
if (cursor) params.cursor = cursor;
174
+
175
+
response = await accountAPI.getRequest('blue.feeds.lycan.searchPosts', params, {
176
+
headers: { 'atproto-proxy': 'did:web:lycan.feeds.blue#lycan' }
177
+
});
178
}
179
180
if (response.posts.length == 0) {