Commit e7cd6a22 authored by nanahira's avatar nanahira

fix

parent b96c04cb
Pipeline #39788 passed with stages
in 3 minutes and 56 seconds
...@@ -568,7 +568,7 @@ export class AppService { ...@@ -568,7 +568,7 @@ export class AppService {
async postScore(body: any): Promise<string> { async postScore(body: any): Promise<string> {
const nonce = body.nonce; const nonce = body.nonce;
if (!nonce) { if (!nonce) {
return this.postScore(body); return this.postScoreProcess(body);
} }
const exist = () => this.aragami.has(ProcessedPostNonce, nonce); const exist = () => this.aragami.has(ProcessedPostNonce, nonce);
if (await exist()) return; if (await exist()) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment