fix bug get danak services
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
export const getServicesByCategory = async (categoryId?: string) => {
|
||||
let query = `?limit=50`;
|
||||
if (categoryId) {
|
||||
query = `&categoryId=${categoryId}`;
|
||||
query += `&categoryId=${categoryId}`;
|
||||
}
|
||||
const { data } = await axios.get<ServiceResponse>(
|
||||
`/danak-services/public${query}`
|
||||
|
||||
Reference in New Issue
Block a user