1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-30 02:29:41 +02:00

feat(frontend): Create CRUD User Interface for Units and Foods

This commit is contained in:
hay-kot 2021-08-22 15:23:45 -08:00
parent 122d35ec09
commit a1aad078da
13 changed files with 517 additions and 42 deletions

View file

@ -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();