mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-08 19:35:14 -05:00
feat(frontend): ✨ Create CRUD User Interface for Units and Foods
This commit is contained in:
@@ -62,12 +62,14 @@ export const useNotifications = function () {
|
||||
}
|
||||
}
|
||||
|
||||
async function testById() {
|
||||
// TODO: Test by ID
|
||||
async function testById(id: number) {
|
||||
const {data} = await api.notifications.testNotification(id, null)
|
||||
console.log(data)
|
||||
}
|
||||
|
||||
async function testByUrl() {
|
||||
// TODO: Test by URL
|
||||
async function testByUrl(testUrl: string) {
|
||||
const {data} = await api.notifications.testNotification(null, testUrl)
|
||||
console.log(data)
|
||||
}
|
||||
|
||||
const notifications = getNotifications();
|
||||
|
||||
Reference in New Issue
Block a user