mirror of
https://github.com/datahub-project/datahub.git
synced 2025-10-29 01:42:08 +00:00
* Fix tracking for search * Fix flacky test passing * Improving test code, trying to use official types for HandlerInfo * Revert adding dependencies
14 lines
274 B
TypeScript
14 lines
274 B
TypeScript
import { ApiStatus } from 'wherehows-web/utils/api/shared';
|
|
|
|
const getSearchResults = function(_: any, request: any) {
|
|
return {
|
|
status: ApiStatus.OK,
|
|
result: {
|
|
keywords: request.queryParams.keyword,
|
|
data: []
|
|
}
|
|
};
|
|
};
|
|
|
|
export { getSearchResults };
|