diff --git a/finnow-api/source/account/api.d b/finnow-api/source/account/api.d index bcdb6c5..7320c02 100644 --- a/finnow-api/source/account/api.d +++ b/finnow-api/source/account/api.d @@ -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);