forked from VinokurovVE/tests
Documents page, WIP
This commit is contained in:
@ -100,7 +100,7 @@ export default class DocumentService {
|
||||
|
||||
// Upload Files
|
||||
static async uploadFiles(folder_id: number, files: any) {
|
||||
return await axiosInstance.post(`/info//documents/upload/${folder_id}`, files)
|
||||
return await axiosInstance.post(`/info/documents/upload/${folder_id}`, files)
|
||||
}
|
||||
|
||||
// Download Doc
|
||||
@ -149,7 +149,7 @@ export default class DocumentService {
|
||||
}
|
||||
|
||||
// Get Banks
|
||||
static async getBanks(bank_id: string, search?: string, limit?: number, offset?: number) {
|
||||
static async getBanks(bank_id?: string, search?: string, limit?: number, offset?: number) {
|
||||
return await axiosInstance.get(`/info/organization/banks`, {
|
||||
params: {
|
||||
bank_id: bank_id,
|
||||
|
Reference in New Issue
Block a user