mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: adjust to changes in core definitions
This commit is contained in:
@@ -29,6 +29,7 @@ import {
|
||||
SCThingType,
|
||||
SCSaveableThing,
|
||||
SCFeedbackRequest,
|
||||
SCFeedbackResponse,
|
||||
} from '@openstapps/core';
|
||||
import {chunk, fromPairs, toPairs} from 'lodash-es';
|
||||
import {environment} from '../../../environments/environment';
|
||||
@@ -299,7 +300,11 @@ export class DataProvider {
|
||||
* @param feedback Feedback message to be sent to the backend
|
||||
*/
|
||||
async sendFeedback(feedback: SCFeedbackRequest) {
|
||||
return this.client.feedback(feedback);
|
||||
return this.client.invokePlugin<SCFeedbackResponse>(
|
||||
'feedback',
|
||||
undefined,
|
||||
feedback,
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user