Fix POST endpoint for value-records.
Build and Deploy API / build-and-deploy (push) Successful in 1m56s
Details
Build and Deploy API / build-and-deploy (push) Successful in 1m56s
Details
This commit is contained in:
parent
df6e4cc81f
commit
6fd3e10d55
|
|
@ -175,7 +175,7 @@ void handleGetValueRecord(ref ServerHttpRequest request, ref ServerHttpResponse
|
|||
writeJsonBody(response, AccountValueRecordResponse.of(record, attachmentRepo));
|
||||
}
|
||||
|
||||
@PathMapping(HttpMethod.GET, ACCOUNT_PATH ~ "/value-records")
|
||||
@PathMapping(HttpMethod.POST, ACCOUNT_PATH ~ "/value-records")
|
||||
void handleCreateValueRecord(ref ServerHttpRequest request, ref ServerHttpResponse response) {
|
||||
ulong accountId = request.getPathParamAs!ulong("accountId");
|
||||
ProfileDataSource ds = getProfileDataSource(request);
|
||||
|
|
|
|||
Loading…
Reference in New Issue