Added esc functionality to open windows, added 'n' keybind to create new tasks, fixed Accounts and settings page to allow for edits to be made as well as profile picture to be updated
This commit is contained in:
@@ -168,6 +168,19 @@ class ApiService {
|
||||
return data;
|
||||
}
|
||||
|
||||
async getTaskNotes(taskId) {
|
||||
return this.request(`/tasks/${taskId}/notes`);
|
||||
}
|
||||
|
||||
async createTaskNote(taskId, body) {
|
||||
const data = await this.request(`/tasks/${taskId}/notes`, {
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ body }),
|
||||
});
|
||||
this.notify();
|
||||
return data;
|
||||
}
|
||||
|
||||
async addAudit(auditData) {
|
||||
const data = await this.request('/audit', {
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user