Slugy, webp, hromada refaktoringu
This commit is contained in:
@@ -19,11 +19,11 @@ export const useEventsStore = defineStore('Events', () => {
|
||||
}).then(item => event.value = item);
|
||||
};
|
||||
|
||||
const fetchPublicDetail = (id, username) => {
|
||||
const fetchPublicDetail = (urlSlug, username) => {
|
||||
return query({
|
||||
isQueryRunning,
|
||||
query: EVENT_PUBLIC_DETAIL,
|
||||
variables: {id, username},
|
||||
variables: {urlSlug, username},
|
||||
}).then(item => event.value = item);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user