mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-09 03:45:15 -05:00
refactor(frontend): 🚧 Migrate Dashboard to Nuxt
Add API and Functinality for Admin Dashboard. Stills needs to clean-up. See // TODO's
This commit is contained in:
7
frontend/api/class-interfaces/upload.ts
Normal file
7
frontend/api/class-interfaces/upload.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { BaseAPI } from "./_base";
|
||||
|
||||
export class UploadFile extends BaseAPI {
|
||||
file(url: string, fileObject: any) {
|
||||
return this.requests.post(url, fileObject);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user