mirror of
https://github.com/formbricks/formbricks.git
synced 2026-02-21 18:18:48 -06:00
fix: source tracking (#1486)
This commit is contained in:
committed by
GitHub
parent
5ae5a92c31
commit
cf938bffa7
@@ -12,18 +12,8 @@ export class ResponseAPI {
|
||||
this.apiHost = apiHost;
|
||||
}
|
||||
|
||||
async create({
|
||||
surveyId,
|
||||
personId,
|
||||
finished,
|
||||
data,
|
||||
}: TResponseInput): Promise<Result<TResponse, NetworkError | Error>> {
|
||||
return makeRequest(this.apiHost, "/api/v1/client/responses", "POST", {
|
||||
surveyId,
|
||||
personId,
|
||||
finished,
|
||||
data,
|
||||
});
|
||||
async create(responseInput: TResponseInput): Promise<Result<TResponse, NetworkError | Error>> {
|
||||
return makeRequest(this.apiHost, "/api/v1/client/responses", "POST", responseInput);
|
||||
}
|
||||
|
||||
async update({
|
||||
|
||||
Reference in New Issue
Block a user